Jump to content

Archived

This topic is now archived and is closed to further replies.

sneskid

dir scanning

Recommended Posts

Hey, I'd like to make myself a php script that can scan directories for files and folders. Basically a directory browsing script

To be honest I havn't looked hard yet for this on the web, but if someone can point me to the right functions that would be really cool & save me some time.

Share this post


Link to post
Share on other sites
[a href=\"http://us3.php.net/opendir\" target=\"_blank\"]http://us3.php.net/opendir[/a]
[a href=\"http://us3.php.net/readdir\" target=\"_blank\"]http://us3.php.net/readdir[/a]
[a href=\"http://us3.php.net/manual/en/function.scandir.php\" target=\"_blank\"]http://us3.php.net/manual/en/function.scandir.php[/a]
[a href=\"http://www.php.net/glob\" target=\"_blank\"]http://www.php.net/glob[/a]

Share this post


Link to post
Share on other sites
awesome! thanks!


what did . and .. mean again
I know one of them was to go to the previous directory and the other was to go to the very root.. or something like that.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.