#44350 [Opn->Bgs]: Problem 10GB

From: 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: &#1050;&#1086;&#1075;&#1076;&#1072; &#1079;&#1072;&#1076;&#1072;&#1105;&#1084; &#1084;&#1072;&#1082;&#1089;&#1080;&#1084;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1088;&#1072;&#1079;&#1084;&#1077;&#1088; &#1092;&#1072;&#1081;&#1083;&#1072; &#1074; php.ini 10 &#1075;&#1080;&#1075;&#1072;&#1073;&#1072;&#1081;&#1090;: "; Maximum allowed size for uploaded files. upload_max_filesize = 10G" &#1080;/&#1080;&#1083;&#1080; &#1089;&#1090;&#1072;&#1074;&#1080;&#1084; &#1086;&#1075;&#1088;&#1072;&#1085;&#1080;&#1095;&#1077;&#1085;&#1080;&#1077; &#1085;&#1072; &#1088;&#1072;&#1079;&#1084;&#1077;&#1088; &#1092;&#1072;&#1081;&#1083;&#1072; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1103; &#1087;&#1086;&#1083;&#1077; MAX_FILE_SIZE: " <input type="hidden" name="MAX_FILE_SIZE" value="10000000000">" PHP &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1072;&#1077;&#1090; &#1086;&#1096;&#1080;&#1073;&#1082;&#1091; ($_FILES["upload_file"]['error']) &#1088;&#1072;&#1074;&#1085;&#1099;&#1084; 2 (&#1056;&#1072;&#1079;&#1084;&#1077;&#1088; &#1092;&#1072;&#1081;&#1083;&#1072; &#1073;&#1086;&#1083;&#1100;&#1096;&#1077; &#1086;&#1075;&#1088;&#1072;&#1085;&#1080;&#1095;&#1077;&#1085;&#1080;&#1103; &#1092;&#1086;&#1088;&#1084;&#1099;) &#1042;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1086; &#1083;&#1080; &#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1077;? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44350&edit=1

« previous php.bugs (#123054) next »