here it is!

short howto:
  copy the script to a place that is not viewable from www
  make sure the mathopd-user has rights to read it
  create an index.php with the following content:
     <? include('/path/to/dirlisting.php'); ?>
  that's it!

regards,
   thomas



Hello,

Where is the script with directory browsing?
That sounds like a nice feature.

-Mike

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Index of

      Name                    Last modified              Size
Parent Directory ".date("Y-m-d H:i:s",$elemtime)." -
"; } else { //standard dir $elemtime = filemtime($realdir."/".$listelem); echo "\"[DIR]\" "; printf("%.22s",$listelem); echo ""; $len = (22-strlen($listelem)); $len += 2; if($len<2)$len=2; printf("%".$len."s",""); echo date("Y-m-d H:i:s",$elemtime)." -
"; } } else { if($listelem == basename($PATH_TRANSLATED)) { } elseif($listelem == ".htaccess") { } else { $elemtime = filemtime($realdir."/".$listelem); $file_size = filesize($realdir."/".$listelem); if($file_size=="") $file_size="0"; if ($file_size >= 1048576) $file_size = round($file_size / 1048576 * 100) / 100 . " MB"; elseif ($file_size >= 1024) $file_size = round($file_size / 1024 * 100) / 100 ." KB"; else $file_size = $file_size . " B"; echo "\"[ "; printf("%.22s",$listelem); echo ""; $len = (22-strlen($listelem)); $len += 2; if($len<2)$len=2; printf("%".$len."s",""); echo date("Y-m-d H:i:s",$elemtime)." $file_size
"; } } } ?>

at on Port
HighSpeed-AT.NET

Reply via email to