#44350 [Opn->Bgs]: Problem 10GB
| From: | johannes@php.net | Date: | Sat, 08 Mar 2008 11:55:57 +0000 |
| Subject: | #44350 [Opn->Bgs]: Problem 10GB | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123054@lists.php.net to get a copy of this message | ||
ID: 44350
Updated by: johannes@php.net
Reported By: markers at mail333 dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Win XP && Win 2k3
PHP Version: 5.2.5
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
10G gives you an integer overflow on 32bit systems. Use 2GB as maximum
or a 64bit machine.
Previous Comments:
------------------------------------------------------------------------
[2008-03-06 16:07:01] markers at mail333 dot com
Description:
------------
ENGLISH:
php.ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 10G
Result: -xxxxxxxxx
<input type="hidden" name="MAX_FILE_SIZE" value="10000000000">
Uploading file size 2mb
Result: $_FILES["upload_file"]['error'] = 2 (The file is bigger than
this form allows)
RUSSIAN:
Когда
задаём
максимальный
размер
файла в php.ini 10
гигабайт:
"; Maximum allowed size for uploaded files.
upload_max_filesize = 10G"
и/или
ставим
ограничение
на размер
файла
используя
поле MAX_FILE_SIZE:
" <input type="hidden" name="MAX_FILE_SIZE"
value="10000000000">"
PHP
возвращает
ошибку
($_FILES["upload_file"]['error'])
равным 2
(Размер
файла
больше
ограничения
формы)
Возможно
ли
решение?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44350&edit=1