>if ($handle = opendir('/my/directory')) {
>     echo "Directory handle: $handle\n";
>     echo "Files:\n";
>     while (false !== ($file = readdir($handle))) {
>         echo "$file\n";
>     }

Everything is good, you just to make a slight addition to your echo.

echo "<a href=\"$file\">$file</a><P>"

"You are stuuuuuupid"
Dexter of Dexter's Labratory

Yeah, I watch Dexter, you got a problem with that! :-)

Join the world’s largest e-mail service with MSN Hotmail. 

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to