CodeIgniter Forums
Using get_filenames() on a Windows machine - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Using get_filenames() on a Windows machine (/showthread.php?tid=49901)



Using get_filenames() on a Windows machine - El Forum - 03-06-2012

[eluser]Unknown[/eluser]
Hello,

I am trying to use the get_filenames() function.
I am running a server on my local machine.
When I run the function it returns the file path as
Code:
C:\path\to\file
which doesn't work in the browser.

Is there a way I can get this to work on my machine?

Thank you,


Using get_filenames() on a Windows machine - El Forum - 03-06-2012

[eluser]WanWizard[/eluser]
Well, then it does what it says on the tin. It returns filenames.

The relation between this function and the browser escapes me, so maybe you can explain what you're trying to do?


Using get_filenames() on a Windows machine - El Forum - 03-06-2012

[eluser]InsiteFX[/eluser]
A little more information on what you are trying to do would be helpful