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

From: Date: Thu, 30 Oct 2003 21:38:19 +0000
Subject: RE: [PHP] stat(), file_exists(), is_file() on Windows2000
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168185@lists.php.net to get a copy of this message
John, thanks for the quick response. If it had been a snake it would have bit me. Thanks. I was trying to do it the hard way. Chris -----Original Message----- From: CPT John W. Holmes [mailto:holmes072000@charter.net] Sent: Thursday, October 30, 2003 1:20 PM To: Chris Hubbard; Php-General@Lists. Php. Net Subject: Re: [PHP] stat(), file_exists(), is_file() on Windows2000 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... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#168185) next »