# [EMAIL PROTECTED] / 2007-01-23 09:14:15 +0000:
> readdir() returns only a basename, you need to be in
> the directory you're traversing (opendir(".") or
> opendir($dir); chdir($dir))

... or prefix the basenames with the path you used in the
opendir() call.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

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

Reply via email to