list dir contents
public php v1 · immutable<html><head><title>Transfer</title></head><body><?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { if (!is_dir($file)) { if ($file != "index.php") echo "<a href=\"$file\">$file</a><br>\n"; } } } closedir($handle); }?> </body></html>