Mikhail S wrote: > How to write a PHP coding to list out all files and directories as links > to them? > > This is somewhat similar to some index pages. When new file or folder is > added to the directory, HTML page should display the newly created > file/folder together with previous ones after it is being refreshed. > (prefer in alphabatical order) > > How to achieve this sort of functionality in PHP? Please provide sample > coding as well. (and any references) > > Thanks. > > -- > Mike > http://jp.shopsloop.com/ Start with http://php.net/manual/en/function.opendir.php for a basic method. Alternatively you can use the SPL DirectoryIterator class http://php.net/manual/en/class.directoryiterator.php http://php.net is your first resource for php Cheers -- David Robley Hm..what's this red button fo:=/07<NO CARRIER Today is Setting Orange, the 32nd day of Discord in the YOLD 3177. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php