Bug #14118 Updated: Upload file more than 1 Mb doesn´t work

From: Date: Mon, 19 Nov 2001 17:34:19 +0000
Subject: Bug #14118 Updated: Upload file more than 1 Mb doesn´t work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70944@lists.php.net to get a copy of this message
ID: 14118 Updated by: bate Reported By: mlara@gcintl.com Status: Open Bug Type: Unknown/Other Function Operating System: linux redhat 7.1 PHP Version: 4.0.4pl1 New Comment: Which version of Apache runs you? I note same problem with IE 5.x. Try you script with Netscape. I think its a problem with your Browser. Previous Comments: ------------------------------------------------------------------------ [2001-11-19 11:55:38] mlara@gcintl.com I have a little script for uploading files, all work fine with files lower than 1 mb but if I try to upload a higher file I get the next browser error "The page cannot be displayed". My script is: <? //check for file upload if ($set=="go") { if (is_uploaded_file($UploadedFile)) { print("Local File: $UploadedFile <BR>\n"); print("Name: $UploadedFile_name <BR>\n"); print("Size: $UploadedFile_size <BR>\n"); print("Type: $UploadedFile_type <BR>\n"); print("<HR>\n"); } } ?> <FORM ENCTYPE="multipart/form-data" ACTION="test.php" METHOD=POST> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1024000"> <INPUT NAME="UploadedFile" TYPE="file"> <INPUT TYPE="hidden" name="set" value="go"> <INPUT TYPE="submit" VALUE="Upload"> </FORM> </BODY> </HTML> My php.ini has a very higher configuration limits. The parameters are: max_execution_time = 3000 memory_limit = 16M post_max_size = 80M ; File Uploads ; ;;;;;;;;;;;;;;;; file_uploads = On upload_tmp_dir = /tmp upload_max_filesize = 80M I read that the solution is upgrade php, I´m hoping that there are other solutions. Thanks Mauricio ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14118&edit=1

« previous php.dev (#70944) next »