Date: 10/29/99
- Next message: gianni: "[PHP-DEV] Email from HTML form + gifs"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Re: PHP 4.0 Bug #2614 NOT FIXED!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: hholzgra <email protected>
Operating system: redhat 6
PHP version: 4.0 Latest CVS (29/10/1999)
PHP Bug Type: Other
Bug description: forms with file-upload hand on submit
The following test code worked fine on a apache1.3.9 with php3
but hangs on apache1.3.9 with php4b2
It works most of the time when i remove the additional text input form
the upload form
but with it stracing the Web-Server shows that it hangs in a read() from
a socket .
-----8<---------------------------------------
<html>
<head>
<title>UPLOAD TEST 1</title>
</head>
<body>
<? if( ! strcmp($REQUEST_METHOD,"GET") ): ?>
<FORM ENCTYPE="multipart/form-data" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="100000">
Send this file: <INPUT NAME="userfile" TYPE="file">
<br>
<input type=text name=hallo> # PROBLEM AREA
<br>
<INPUT TYPE="submit" VALUE="Send File">
</FORM>
<? else: ?>
<ul>
<? print "--- $fred <br>" ?>
<? print "Userfile $userfile <br>" ?>
<? print " name $userfile_name <br>" ?>
<? print " size $userfile_size <br>" ?>
<? print " type $userfile_type <br>" ?>
<? print " hallo $hallo <br>" ?>
</ul>
<? endif ?>
</body>
</html>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: gianni: "[PHP-DEV] Email from HTML form + gifs"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Re: PHP 4.0 Bug #2614 NOT FIXED!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

