Try putting a hidden field like below in your form. Set the value (bytes) to
the size you want to be able to upload:

<input type="hidden" name="MAX_FILE_SIZE" value="1000000">

Kirk

> -----Original Message-----
> From: Frédéric Mériot [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 1:48 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Upload problem
> 
> 
> Hi All, it's my first post here.
> 
> I've got a problem with the upload. I want to upload a 4Mo file on the
> server but it refuses to work. I modified the max_upload_size 
> in the php.ini
> but it continues to refuse the transfer. If I upload a 
> smaller file it works
> fine.
> 
> Someone told me to modify the MAX_FILE_SIZE constant but I 
> don't find it.
> 
> I need help, Thanks
> 
> Fred from Paris

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to