From:             [EMAIL PROTECTED]
Operating system: NetBSD/Alpha (64bit) - 1.6
PHP version:      4CVS-2002-12-13 (stable)
PHP Bug Type:     URL related
Bug description:  Header Location Fails

RE: Bug #19754 shouldn't be closed because CVS-2002-12-13 still exihibit
this problem.

index.php:

<?php
$location = "Location: http://".$_SERVER['HTTP_HOST'];
$location.= dirname($_SERVER['PHP_SELF'])."/"."index2.php";
header($location);
?>

---

index2.php:

<?php
echo "<p>You have been redirected</p>";
?>

---

calling index.php should redir to index2.php and echo out:

  You have been redirected

Instead both Mozzila 1.2b and IE 6.x show a blank page. 
-- 
Edit bug report at http://bugs.php.net/?id=21004&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21004&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21004&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21004&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21004&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21004&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21004&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21004&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21004&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21004&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21004&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21004&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21004&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21004&r=isapi

Reply via email to