ID: 14118 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: linux redhat 7.1 PHP Version: 4.0.4pl1 New Comment:
Maybe I am pointing out the obvious here, but this line would prevent you from doing so. <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1024000"> Cause I believe it OVERRIDES php.ini value. So if for some reason I am not stating the obvious remove this line and try again. -Chris Previous Comments: ------------------------------------------------------------------------ [2001-11-19 12:34:19] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2001-11-19 11:55:38] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]