[nycphp-talk] questions --
Tim Gales
tgales at tgaconnect.com
Sat Mar 12 07:27:45 EST 2005
Wai Siow writes:
>...I believe the upload
> size limit can be set from the script itself, so you can
> change it there if you don't want to globally increases the
> upload size.
Upload_max_filesize is per directory...
Here is some information from the php manual which may
be helpful:
upload_max_filesize (PHP_INI_PERDIR -- default 2M)
post_max_size (PHP_INI_PERDIR -- default 8M)
"To upload large files, this value [post_max_size] must be
larger than upload_max_filesize."
memory_limit (PHP_INI_ALL -- default 8M)
"If memory limit is enabled by your configure script, memory_limit
also affects file uploading. Generally speaking, memory_limit should
be larger than post_max_size"
And as yuri originally mentioned, max_input_time (PHP_INI_ALL --
default 60 seconds) could come into play as a limiting factor.
(Hmmn, file uploading -- could be a good topic for a phundamental)
T. Gales & Associates
'Helping People Connect with Technology'
http://www.tgaconnect.com
More information about the talk
mailing list