#40281 [Opn]: form with enctype="multipart/form-data" doesn't work

From: Date: Tue, 30 Jan 2007 02:56:19 +0000
Subject: #40281 [Opn]: form with enctype="multipart/form-data" doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108213@lists.php.net to get a copy of this message
ID: 40281 User updated by: hongying4 at yahoo dot ca Reported By: hongying4 at yahoo dot ca Status: Open Bug Type: Apache2 related Operating System: windows 2003 PHP Version: 5.2.1RC4 New Comment: Apache Version: Apache/2.2.3 (Win32) php version : PHP/5.2.1RC4-dev Previous Comments: ------------------------------------------------------------------------ [2007-01-30 02:55:22] hongying4 at yahoo dot ca Description: ------------ any form with enctype="multipart/form-data" can't be submitted. it keep 'opening page ...' until time out. form without enctype="multipart/form-data" works fine. Reproduce code: --------------- <?php echo '<pre>'; print_r($GLOBALS); echo '</pre>'; ?> <hr> <form enctype="multipart/form-data" method="POST" > <!-- <form method="POST"> --> <input type="text" name="test" value="test1" /> <input type="submit" name="submit" value="submit" /> </form> Expected result: ---------------- mmmm, should be display all the variables and the form after submitted. Actual result: -------------- it display 'opening page http://...... ' ...... ..... .... ... .. . (time out) display 'The page cannot be displayed' page ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40281&edit=1

« previous php.bugs (#108213) next »