With multiple file uploads
post_max_size: the total amount of data posted by the client
(all files, and all other form field)
upload_max_filesize: the maximum size of 1 single file.
(just like <input type="hidden"
name="MAX_FILE_SIZE" value="..."/>)
so, with the directives:
post_max_size 25M
upload_max_filesize 2M
you can send 12 files of up to 2 MB and use up to 1 MB for
your additional form-values.
As long as you read only a single copy of 1 file into
memory, the memory_limit directive can be held reasonable
small as well.
----
Server IP: 209.41.74.194
Probable Submitter: 84.41.168.40
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.
multiple.php
Edit -- https://master
.php.net/note/edit/78095
Del: integrated -- h
ttps://master.php.net/note/delete/78095/integrated
Del: useless -- http
s://master.php.net/note/delete/78095/useless
Del: bad code -- htt
ps://master.php.net/note/delete/78095/bad+code
Del: spam -- https:/
/master.php.net/note/delete/78095/spam
Del: non-english --
https://master.php.net/note/delete/78095/non-english
Del: in docs -- http
s://master.php.net/note/delete/78095/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78095
Reject -- https://mast
er.php.net/note/reject/78095
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|