World: r3wp
[!RebGUI] A lightweight alternative to VID
older | first |
MaxV 4-Jan-2012 [8973x2] | Or better: |
<? $path = "."; $dir_handle = @opendir($path) or die("Error opening $path"); echo "Directory content: <br/>"; while ($file = readdir($dir_handle)) { if($file!="." && $file!="..") echo "<a href='$file'>$file</a><br/>"; } closedir($dir_handle); ?> | |
Gabriele 5-Jan-2012 [8975] | Or just enable Indexes in apache. |
Ashley 6-Jan-2012 [8976] | ... if you have control over that ;) |
Gabriele 6-Jan-2012 [8977:last] | most of the times, you can put that in a .htaccess file. |
older | first |