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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php