|
Posted by Kim Andrι Akerψ on 11/22/06 13:54
pittendrigh wrote:
> 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
> directive?
Both come into play, actually.
upload_max_filesize controls the maximum size of each uploaded file.
http://php.net/ini.core#ini.upload-max-filesize
post_max_size controls the maximum amount of data that can be
transferred by the post method.
http://php.net/ini.core#ini.post-max-size
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)
Navigation:
[Reply to this message]
|