Page 1 of 1

PHP - file upload size

Posted: Tue Feb 15, 2005 3:50 pm
by khawarikhan
Hi everyone,
I have a file upload option on my site and right now it allows only 500KB or lesser file sizes to upload.......is this the default setting for the server? Can I increase it somehow? if yes, please guide how to do that.
In the form, I am passing a hidden field of MAX_FILE_SIZE and the value is set to 500000..........I increased this number but it still didn't work with larger than 500K files.
Thanks for help

Khawar

Posted: Tue Feb 15, 2005 3:56 pm
by feyd
the system will use the lesser of the two. If none is provided in the form, the server's setting is used. Read here about it: http://php.net/manual/en/features.file-upload.php