Jump to content


Photo

dir scanning


  • Please log in to reply
2 replies to this topic

#1 sneskid

sneskid
  • Members
  • PipPipPip
  • Advanced Member
  • 38 posts

Posted 18 April 2006 - 05:11 AM

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.

#2 ypirc

ypirc
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 18 April 2006 - 05:16 AM

[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]


#3 sneskid

sneskid
  • Members
  • PipPipPip
  • Advanced Member
  • 38 posts

Posted 18 April 2006 - 06:25 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users