upload_max_filesize question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

upload_max_filesize question

Post by social_experiment »

The value set in php.ini for upload_max_filesize, is this value per file upload box or is it the total size of all file upload boxes? If i have 3 file upload boxes, and my php.ini setting is 2MB, would the files be uploaded if the total of these files are greater than 2MB?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
incubi
Forum Contributor
Posts: 119
Joined: Mon Dec 07, 2009 1:47 pm

Re: upload_max_filesize question

Post by incubi »

If I remember Its the total size per post action.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: upload_max_filesize question

Post by requinix »

incubi wrote:If I remember Its the total size per post action.
You're thinking of post_max_size.

upload_max_filesize:
The maximum size of an uploaded file.
Post Reply