Req #14316 [Opn->Wfx]: Incorrect upload_max_filesize causes problems
| From: | jani@php.net | Date: | Fri, 31 Dec 2010 23:18:46 +0000 |
| Subject: | Req #14316 [Opn->Wfx]: Incorrect upload_max_filesize causes problems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157438@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=14316&edit=1
ID: 14316
Updated by: jani@php.net
Reported by: graeme at i7 dot com dot au
Summary: Incorrect upload_max_filesize causes problems
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: PHP options/info functions
Operating System: Solaris 2.6
PHP Version: 4.0.6
Block user comment: N
Private report: N
New Comment:
M is more correct than MB and has worked for over 10 years. No need to
change anything.
Previous Comments:
------------------------------------------------------------------------
[2001-12-03 04:12:46] sniper@php.net
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
------------------------------------------------------------------------
[2001-12-02 19:04:19] graeme at i7 dot com dot 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/bug.php?id=14316&edit=1