Bug #15251 Updated: Cannot upload one but two files

From: Date: Thu, 07 Feb 2002 10:52:31 +0000
Subject: Bug #15251 Updated: Cannot upload one but two files
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79503@lists.php.net to get a copy of this message
ID: 15251 Updated by: yohgaki@php.net Reported By: yohgaki@php.net -Status: Closed +Status: Critical Bug Type: HTTP related Operating System: Linux PHP Version: 4.2.0 2002-02-07 New Comment: Oops. Problem still exists :( Previous Comments: ------------------------------------------------------------------------ [2002-02-07 05:50:30] yohgaki@php.net I tested again. It works for me now :) I don't actually change configuration. I upgraded to apache 1.3.23/mod 2.8.6, though. ------------------------------------------------------------------------ [2002-02-04 09:37:57] yohgaki@php.net Hmm. That's strange. One thing I can think of is mbstring module, but mbstring module is designed not to convert multi-part form data.... I'll try w/o mbstring when I have time. BTW, I didn't notice parse error. I'll check if it's logged, also. ------------------------------------------------------------------------ [2002-02-04 08:15:21] sesser@php.net with no effect i mean: uploading one or two files worked without any problem. ------------------------------------------------------------------------ [2002-02-04 07:39:54] sesser@php.net $HTTP_POST_FILES["input_name"] if (isset($HTTP_POST_FILES)) { print_r($HTTP_POST_FILES); } There is a missing ; if i add it i see no effect without it i dont get any response (only headers) and the apache error log tells me that there is a parse error in line... Shouldn't that parse error get printed to the http stream? ------------------------------------------------------------------------ [2002-01-28 03:42:21] yohgaki@php.net Cannot upload one but files... with ZE1. Segfaults with ZE2 :( (IE6.0 & W2K/ Mozilla 0.9.7+ & Linux) ======= begin ======= <html> <head> <title>File Upload Test</title> <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP"> </head> <body bgcolor="#FFFFFF"> <pre> $HTTP_POST_FILES <?php // Data about Uploaded Files are stored in array in $HTTP_POST_FILES["input_name"] if (isset($HTTP_POST_FILES)) { print_r($HTTP_POST_FILES); } ?> </pre> <form enctype="multipart/form-data" action="file_upload.php" method="post"> <input type="text" name"text" value="TEST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000000"> Send this file: <input type="file" name="userfile[]"> Send this file: <input type="file" name="userfile[]"> <input type="submit" value="Send File"> </form> </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15251&edit=1

« previous php.dev (#79503) next »