From: jeffshadap at gmail dot com
Operating system: Windows XP
PHP version: 5.2.6
PHP Bug Type: *General Issues
Bug description: header function problem in Internet Explorer
Description:
------------
The header function behavior in Internet Explorer 6.0 is broken
Reproduce code:
---------------
<?php
if(isset($_REQUEST['submit']))
{
header("Location:".$_SERVER['PHP_SELF']);
}
?>
<form method=GET>
<input type = submit name = submit VALUE = "GET">
</form>
<form method=POST>
<input type = submit name = submit VALUE = "POST">
</form>
Expected result:
----------------
Firefox and Internet Explorer
Clicking on GET, and POST should redirects to the same page
Actual result:
--------------
Firefox:
Clicking on GET, and POST redirects to the same page[correct]
Internet Explorer:
Clicking on GET redirects to the same page[correct]
Clicking on POST displays the page with title "The page cannot be
displayed"[incorrect]
--
Edit bug report at http://bugs.php.net/?id=45885&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=45885&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=45885&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=45885&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45885&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=45885&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45885&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45885&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45885&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45885&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45885&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=45885&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=45885&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45885&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45885&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45885&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45885&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45885&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45885&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45885&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45885&r=mysqlcfg