JWH> That's what $_FILES['whatever']['size'] is for. Although if the JWH> file is too large, like over the php.ini max file size setting, JWH> I don't think you get to control what happens. That's what I JWH> thought was being discussed.
That's exactly what I was asking about. So, there's no way to throw a nice error to the user if the file goes over the max file size setting in php.ini?
-- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/People/BenRamsey
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php