Re: [PHP] stat(), file_exists(), is_file() on Windows2000

From: Cpt John W. Holmes (holmes072000_at_charter.net)
Date: 10/30/03


To: "Chris Hubbard" <chris@wildcharacters.com>, "Php-General@Lists. Php. Net" <php-general@lists.php.net>
Date: Thu, 30 Oct 2003 16:20:12 -0500

From: "Chris Hubbard" <chris@wildcharacters.com>
> The problem:
> all the code I've tried to test whether a temp (from a form post) is there
> before doing a filesize() on it is failing.
> I'm doing a filesize check so absurdly large files aren't copied from the
> temp folder to a permanent folder.
> (and no I can't change the ini file, already asked, I did mention
unfriendly
> right?)
> What I want is a value for the filesize of the temporary file.

$_FILES['userfile']['size']

---John Holmes...