|
WHAT IS IT GOOD FOR? The directory lists that most web servers produce, take forever to download. This script creates a much smaller listing of your object path contents, and even sends a GZipped version, if the web browser supports that (most browsers do). You can see how it works on my path. |
|
|
REQUIREMENTS The current version works in PHP3 and PHP4. For PHP versions prior to 4.0.4 you might have to remove the first three script lines, because this type of HTML compression is quite new. The script ls.php uses the ls shell command,
that's why the setting safe_mode=OFF (default) is needed (check phpinfo.php
if in doubt)The script ls1.php works with safe_mode=ON. If ls.php
does not work for you, try ls1.php. It can not sort, sorting such an amount
of data with PHP puts too much load on the CPU. When I tried it, the script
was always kicked out with a 503 error (Server too busy).If you have an strange web server on a windows system, you can try this second script too, it does not need the ls shell command. |
|
| download ls.zip |
Current version dated 12/29/2001, about 5k download size - workaround for the buggy strncasecmp() in old PHP4 versions |
DOWNLOAD AND INSTALL
|
|
|
|
|
|