Anonymous
public php v1 · immutable<?phpif ($handle = opendir ('spicecottage')) { while (false !== ($file = readdir ($handle))) { if (($file != '.') AND ($file != '..')) { echo (sprintf ("/spicecottage/%s\n", $file)); } } closedir($handle);} else { echo "You don't know how to use opendir";}?>