I would like to know how to use PHP to do a directory listing of the sub-directories local to the php file running the listing, and then display these sub-directories as a listing with a href link.
Any thoughts.
Phil
Heres some functions to look at
http://ca.php.net/dir
scandir() is PHP 5 CVS ONLY
http://ca.php.net/manual/en/function.scandir.php
too make something like scandir() for php 4 you would have to use a loop to grab handles and such anywaz hope these links my help you out.
There is also code on the [man]readdir[/man] page that performs a directory tree traversal (more than once, submitted by different people).