|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-11-10 12:13 UTC] hholzgra at cvs dot php dot net
[1999-11-11 11:32 UTC] hholzgra at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 15:00:01 2025 UTC |
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>