[PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Binay
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


Re: [PHP] Suppressing warning messages in file uploading though HTTP

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


Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Binay
Hi Radhita!

Thanks for quick response.

- Original Message -
From: Raditha Dissanayake [EMAIL PROTECTED]
To: Binay [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 9:37 PM
Subject: Re: [PHP] Suppressing warning messages in file uploading though
HTTP


 Hi Binay,

 The only way you can get the file size before upload is to use a Java
 applet or activex.

Would you like to shade more light on how i can use java applet or activex i
mean bit coding/snippet as i am newbie .


If i am not mistaken you can remove the 'max size
 exceeded' warning only by recompiling php.
+
Which switch or options to use while recompiling php to suppress the warning
messages ?
+

 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



Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Raditha Dissanayake
Hi

You are welcome

Binay wrote:


Would you like to shade more light on how i can use java applet or activex i
mean bit coding/snippet as i am newbie .


shameless plug : 

please try http://www.radinks.com/upload
it's such an uploader applet. The basic version is free.
If i am not mistaken you can remove the 'max size
 

exceeded' warning only by recompiling php.
   

+
Which switch or options to use while recompiling php to suppress the warning
messages ?
+
There aren't any options, you need to edit the source code and comment 
out the relevent sections. Obviously this solution does not work on 
shared hosting accounts and oyu need to be the owner of your web server 
if you choose this applet.

--
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