Forgot your password?



 

Why sign up?
- One account for five websites!
- Free access to Premium Codes
- Acess to cool web tools
- Ask and answer questions
- Stay ahead of other web developers
- and MUCH MORE!

 





Feel The Power

webPhp Code: Recursive Directory Browser


This function takes in a directory path and recursively searches through the directory structure and returns all files in those directories. The file list is returned in an array.


This function has 1 required parameter and 2 optional parameters.


directoryToArray(Path to Directory [,file extention [,Display Full Path]]


If the file extension parameter is set, only files matching that extension will be displayed, ie, "jpg"


If the Display Full Path parameter is true, then the full path of the file will be returned. If it is false, only the file name will be returned. By default, this parameter is set to true.

If you don't know how to use this code or need more information Click here!

Go to Homepage


 

You can leave comments once you sign in/up.


Review

Please Rate this!

Visitor

Onlines:
Total Online:
Recent Members: Moch Husen Hadi Legana, Jezreel, elsopky, hitech40229, Dineshpaswan