Bug #14316 Updated: Incorrect upload_max_filesize causes problems
| From: | sniper@php.net | Date: | Mon, 03 Dec 2001 09:12:47 +0000 |
| Subject: | Bug #14316 Updated: Incorrect upload_max_filesize causes problems | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72317@lists.php.net to get a copy of this message | ||
ID: 14316
Updated by: sniper
Reported By: graeme@i7.com.au
Old Status: Closed
Status: Open
Bug Type: Feature/Change Request
Operating System: Solaris 2.6
PHP Version: 4.0.6
New Comment:
This is different problem and has nothing to do with the http upload code.
The php ini parser should allow MB (instead of only allowing M)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-12-03 01:14:33] derick@php.net
The new file uploading code, which will be available from PHP 4.2.0 and higher, has functionality
you request.
You can try it by getting a snapshot from snaps.php.net.
Derick
------------------------------------------------------------------------
[2001-12-02 19:04:19] graeme@i7.com.au
This is more of a user-error problem but it would be nice to maybe do something about.
Setting a upload_max_filesize value to 10MB rather then 10M causes PHP to ignore the MB portion and
only allow uploads of 10 bytes instead.
Is it possible for PHP to instead inspect the first character after the number of use that so 10MB
will get seen as 10M?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14316&edit=1