Re: What does MAX_FILE_SIZE do?
| From: | Ben Ramsey | Date: | Fri, 09 Apr 2004 03:33:56 +0000 |
| Subject: | Re: What does MAX_FILE_SIZE do? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182948@lists.php.net to get a copy of this message | ||
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