Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   Determining the contents of a directory (http://www.programmingforums.org/showthread.php?t=11810)

grimpirate Nov 5th, 2006 4:25 PM

Determining the contents of a directory
 
Wondering if anyone knows how to read all the files in a given directory (including other directory names within that directory as well)?

grimpirate Nov 5th, 2006 4:30 PM

Never mind, lol I just found the function, I thought it would be in the FileSystem functions, but apparently there's a separate set of functions for directories.
:

array scandir ( string directory [, int sorting_order [, resource context]] )

Iftikhar Nov 5th, 2006 4:59 PM

Nice, Always good to find solutions urself


All times are GMT -5. The time now is 1:33 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC