note 101761 added to features.file-upload.post-method
| From: | mail at markuszeller dot com | Date: | Mon, 10 Jan 2011 08:34:30 +0000 |
| Subject: | note 101761 added to features.file-upload.post-method | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175590@lists.php.net to get a copy of this message | ||
If you want to increase the upload size, it could make sense to allow it only to a specified
directory and not in the php.ini for the whole domain or server. In my case it worked very well
placing that into the .htaccess file like this:
php_value upload_max_filesize 100M
php_value post_max_size 101M
Remember, post_max_size must be bigger than the upload_max_filesize.
----
Server IP: 69.147.83.197
Probable Submitter: 79.245.198.250
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.post-method.php
Edit -- https://master.php.net/note/edit/101761
Del: integrated -- https://master.php.net/note/delete/101761/integrated
Del: useless -- https://master.php.net/note/delete/101761/useless
Del: bad code -- https://master.php.net/note/delete/101761/bad+code
Del: spam -- https://master.php.net/note/delete/101761/spam
Del: non-english -- https://master.php.net/note/delete/101761/non-english
Del: in docs -- https://master.php.net/note/delete/101761/in+docs
Del: other reasons-- https://master.php.net/note/delete/101761
Reject -- https://master.php.net/note/reject/101761
Search -- https://master.php.net/manage/user-notes.php