Re: stat() weirdness

From: Date: Fri, 30 Jun 2000 21:54:46 +0000
Subject: Re: stat() weirdness
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4178@lists.php.net to get a copy of this message
In article <4.3.0.20000623200950.01418d20@mail.jatosoft.com>, ben@jatosoft.com (Ben Gollmer) wrote: > The problem is that sometimes stat() returns nothing, as does is_dir(), > is_file(), and is_link()! The filename prints fine, but the other columns > contain nothing (except for the last modified column, which contains > "1969-12-31 19:00" (the unix epoch?)). I've tried this code with and > without clearstatcache(), it doesn't seem to make any difference. Any ideas? Sometimes on files that worked other times, or consistently on certain files? What does ls -als show for those files in the shell? -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#4178) next »