Quote:
Originally Posted by Jace
is that in ssh or something?
i don't do ssh  haha
|
you're missing out

let me try it in php:
Code:
<?php
if($dir = opendir(".")) {
while (($file = readdir($dir) !== false) {
if ($file != "." && $file != "..") {
$text .= "<a href=\"$file\">.str_replace("-"," ",$file)."</a><br>";
}
}
}
$fd = fopen("outputfile.html",w);
fwrite($fd,$text);
fclose($fd);
?>
I haven't tested this but should work.