Re: [PHP] Directory Listing with php on unix boxes

2003-01-08 Thread Krzysztof Dziekiewicz
Here is where I'm running into some problems. I need the file listing to be sorted as if I were performing an 'ls -lt' listing on the server itself. I do not think opendir() or readdir() quarantees any sort. You where lucky rather you got dirs in the time order. You should use filemtime() or

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the

[PHP] Directory Listing with php on unix boxes

2003-01-06 Thread Joe Jeffcoat
I have 3 SunOS boxes, all running the same version of OS, apache and php. I have a page on all three servers that will allow a user to select a directory from a drop down box and upon selecting the directory, be able to select a file to view from a drop down box. When the user selects the