#38094 [NEW]: Custom 404 doesnt receive POST variables
| From: | mdcore at gmail dot com | Date: | Thu, 13 Jul 2006 12:38:08 +0000 |
| Subject: | #38094 [NEW]: Custom 404 doesnt receive POST variables | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-99400@lists.php.net to get a copy of this message | ||
From: mdcore at gmail dot com
Operating system: 2003
PHP version: 5.1.4
PHP Bug Type: IIS related
Bug description: Custom 404 doesnt receive POST variables
Description:
------------
I'm using a custom 404 page in IIS to handle a form of mod_rewrite. But if
I post a form then the custom 404 does not get the POST variables. this
works in IIS5 but not in IIS6.
Reproduce code:
---------------
formtest.php:
<form method="post" action="non_existant_page.abc">
<input name="test" type="text" value="some stuff" />
<input type="submit" />
</form>
Set this up as a custom 404 page in IIS.
custom404.php:
<pre><?
print_r($GLOBALS);
?></pre>
Expected result:
----------------
non-empty _FORM and REQUEST_METHOD of POST
Actual result:
--------------
empty _FORM and REQUEST_METHOD of GET
--
Edit bug report at http://bugs.php.net/?id=38094&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38094&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38094&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38094&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38094&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38094&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38094&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38094&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38094&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38094&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38094&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38094&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38094&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38094&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38094&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38094&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38094&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38094&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38094&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38094&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38094&r=mysqlcfg