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:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 1:20 PM To: Chris Hubbard; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] stat(), file_exists(), is_file() on Windows2000 From: "Chris Hubbard" <[EMAIL PROTECTED]> > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php