On Sat, 2011-04-16 at 15:02 -0500, Shawn McKenzie wrote: > On 04/14/2011 06:16 PM, 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/ > > > > I prefer glob(). Give it a shot and ask for help on code that you have > tried. > > > -- > Thanks! > -Shawn > http://www.spidean.com > There is a setting of Apache that will do this automatically for directories that have no index, I don't remember exactly what it is right now, but a quick Google should yield results -- Thanks, Ash http://www.ashleysheridan.co.uk