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
PHP - file upload size
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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