#40281 [NEW]: form with enctype="multipart/form-data" doesn't work
| From: | hongying4 at yahoo dot ca | Date: | Tue, 30 Jan 2007 02:55:22 +0000 |
| Subject: | #40281 [NEW]: form with enctype="multipart/form-data" doesn't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-108212@lists.php.net to get a copy of this message | ||
From: hongying4 at yahoo dot ca
Operating system: windows 2003
PHP version: 5.2.1RC4
PHP Bug Type: Apache2 related
Bug description: form with enctype="multipart/form-data" doesn't work
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 bug report at http://bugs.php.net/?id=40281&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40281&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40281&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40281&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40281&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40281&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40281&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40281&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40281&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40281&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40281&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40281&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40281&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40281&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40281&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40281&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40281&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40281&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40281&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40281&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40281&r=mysqlcfg