Re: having trouble with is_file() and is_dir() on 5.1.2

From: Date: Tue, 23 Jan 2007 09:19:48 +0000
Subject: Re: having trouble with is_file() and is_dir() on 5.1.2
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-247616@lists.php.net to get a copy of this message
# neuhauser@sigpipe.cz / 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

« previous php.general (#247616) next »