note 22585 added to features.file-upload
| From: | trey at fishleg dot com | Date: | Mon, 24 Jun 2002 05:24:35 +0000 |
| Subject: | note 22585 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32137@lists.php.net to get a copy of this message | ||
I've pieced this together out of bits I've found elsewhere, but the info belongs here.
If you're on a shared host that won't allow you to modify the php.ini file and your
max_upload_size is set low, you can create an .htaccess file in the upload handler script directory
that contains:
php_value upload_max_filesize 8000000
(example set for 8 megs)
As a nice side benefit, it will keep big uploads from being erroneously listed as an upload attack
via many of the scripts found here ;)
--
http://www.php.net/manual/en/features.file-upload.php
http://master.php.net/manage/user-notes.php?action=edit+22585
http://master.php.net/manage/user-notes.php?action=delete+22585
http://master.php.net/manage/user-notes.php?action=reject+22585