Quote:
Originally Posted by darksoul
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.
|
hm...almost
Parse error: syntax error, unexpected '{' in /usr/home/keywords.php on line 3