$dirPath = "C:\somepath";
$dhandle = opendir($dirPath);
while ($filename = readdir($dhandle)) {
echo $filename . "<br>";
}// end read filenames
--- Andreas Indahl <[EMAIL PROTECTED]> wrote:
> Hi!
>
> How can I read all files in a directory, when I
> don't know which files are
> there?
>
> Sincerely
> Andreas Indahl
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php