Hello Ben,

Friday, April 9, 2004, 3:54:44 AM, you wrote:

BR> That's what I was asking about, actually.  How do I capture the filesize
BR> without PHP throwing an error about the file being too big?

Do a filesize() on the tmp file after upload? If it exceeds whatever
limit you think is fair, error nicely. Your limit and the one imposed
by PHP don't have to be the same obviously.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to