upload_max_filesize or max_post_size

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
If I want to control (max) upload file size
on a Suse10.2 box running php5.0.3,
in php.ini, does max_post_size matter?
Or is upload_max_filesize the only relevant  

Re: upload_max_filesize or max_post_size

pittendrigh wrote:

Quoted text here. Click to load it

Both come into play, actually.

upload_max_filesize controls the maximum size of each uploaded file.

post_max_size controls the maximum amount of data that can be
transferred by the post method.

As the manual for post_max_size says:
"This setting also affects file upload. To upload large files, this
value must be larger than upload_max_filesize."

Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

Site Timeline