http://us2.php.net/manual/en/ini.core.php#ini.upload-max-filesize

In later versions of PHP, you can't use ini_set to set upload_max_filesize
... The changeable option is PHP_INI_PERDIR now, meaning you can only change
it in php.ini, .htaccess or httpd.conf ...

http://us2.php.net/manual/en/ini.php#ini.list

Like it says in the user contributed notes on that page, you have to use
php_value in .htaccess to adjust the setting.

Example: php_value upload_max_filesize 20M

---
Jeremy C. Privett
Director of Product Development
Zend Certified Engineer
Completely Unique
[EMAIL PROTECTED]
 
Phone:     303.459.4819
Fax:         303.459.4821
Web:        www.completelyunique.com
 
This email may contain confidential and privileged material for the sole use
of the intended recipient. Any review or distribution by others is strictly
prohibited. If you are not the intended recipient please contact the sender
and delete all copies. Your compliance is appreciated.
-----Original Message-----
From: John Nichel [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 15, 2006 12:32 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Max File Upload

Tom Ray [Lists] wrote:
> Is there anyway to overwrite the max file upload in php.ini per instant? 
> I'd like to have users controlled on a certain website to have more then 
> average uploads but the site runs on a shared hosting environment.
> 

http://us3.php.net/ini_set

-- 
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to