Re: Suppressing warning messages in file uploading though HTTP
| From: | Raditha Dissanayake | Date: | Thu, 18 Sep 2003 16:07:20 +0000 |
| Subject: | Re: Suppressing warning messages in file uploading though HTTP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163022@lists.php.net to get a copy of this message | ||
Hi Binay,
The only way you can get the file size before upload is to use a Java applet or activex. If i am not mistaken you can remove the 'max size exceeded' warning only by recompiling php.
all the best
ps: appreciate if you could switch off return reciepts on your mail client.
Binay wrote:
Hi everybody! I am uploading html,text etc files though HTTP upload form method. In my php.ini file value of upload_max_filesize is 2 MB. Now if the file size exceeds 2 MB i get warning messages saying size of the file exceeds upload_max_filesize value . I want to know how i can suppress this warning message and is there any method to get the file size before uploading so as to alert the clients accordingly? Please help me out Thanks in advance Binay-- http://www.radinks.com/upload Drag and Drop File Uploader.