upload file warning
| From: | yangshiqi | Date: | Fri, 17 Dec 2004 05:40:53 +0000 |
| Subject: | upload file warning | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-204561@lists.php.net to get a copy of this message | ||
I got a php waring when I upload my file:
Warning: MAX_FILE_SIZE of 200000 bytes exceeded - file [imgpath=mz-n10.pdf]
not saved in Unknown on line 0
In the form I write like these:
<input type='hidden' name='MAX_FILE_SIZE' value=200000>
<input type='file' name='imgpath'>
And my configuration is :
file_uploads = on
upload_max_filesize = 4M
upload_tmp_dir = /tmp
so, what 's wrong? And can I catch the exceeded file error before it is
passed back to the client?
Best wishes.
yangshiqi