#24623 [NEW]: G for Gigabytes
| From: | chkno at chkno dot net | Date: | Sat, 12 Jul 2003 21:17:42 +0000 |
| Subject: | #24623 [NEW]: G for Gigabytes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-43819@lists.php.net to get a copy of this message | ||
From: chkno at chkno dot net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: G for Gigabytes
Description:
------------
In the php.ini parser, "2M" is shorthand for 2 megabytes (2 *
1024 * 1024).
Can we have a G for Gigabytes?
Reproduce code:
---------------
; (in php.ini)
upload_max_filesize = 2G
Actual result:
--------------
PHP Warning: upload_max_filesize of 2 bytes exceeded - file
[file=test] not saved in Unknown on line 0, referer:
http://chkno.com/upload.php
--
Edit bug report at http://bugs.php.net/?id=24623&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24623&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24623&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24623&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24623&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24623&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24623&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24623&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24623&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24623&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24623&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24623&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24623&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24623&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24623&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24623&r=gnused