><?php
>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>"

-Danny
"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. 
http://www.hotmail.com


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

Reply via email to