ID: 7342
Updated by: david
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Analyzed
Old-Bug Type: PHP options/info functions
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

The same applies to the php function ini_set(). It looks like the onmodify entry is 
being not found/called from zend_alter_ini_entry and it's using the 
'estrndup/value=duplicate' instead

Previous Comments:
---------------------------------------------------------------------------

[2000-10-19 11:20:06] [EMAIL PROTECTED]
In php.ini for setting the upload_max_filesize one can use abbrevations for certain 
amounts of bytes (e.g. M for 'Megabytes'). The line

upload_max_filesize = 15M

means 15 * 1024 * 1024 Bytes are allowed.

When using the

php_value upload_max_filesize 15M

directive in apache httpd.conf the 'M' modifyer is *NOT* used, leading to actually 
setting the max. file size for uploads to only 15 Bytes, not 15 MB.
One has to use 15728640 (i.e. 15 * 1024^2) to set the value to 15 MB.


---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=7342


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to