Re: filesize() and mime_content_type()

From: Date: Thu, 07 Jun 2007 17:02:11 +0000
Subject: Re: filesize() and mime_content_type()
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-256302@lists.php.net to get a copy of this message
Oh, I also forgot to ask.... what do you get when you use stat()?
stat() works, but not if I pass in the actual name of the file. I have to use fstat() in order to get the proper data. I'll have to check to see if there are any functions disabled in the php.ini (I don't believe there are any) but if fstat()/stat() work, I'm at a loss to explain why filesize() doesn't... :| or, also, why stat() doesn't work when I use a correct filename. thnx, Chris

« previous php.general (#256302) next »