ID:               21004
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
-Bug Type:         URL related
+Bug Type:         HTTP related
 Operating System: NetBSD/Alpha (64bit) - 1.6
 PHP Version:      4CVS-2002-12-13 (stable)
 New Comment:

Does it redirect though?
What does 'lynx -dump -head <url to the index.php>' output?

Maybe IE6 and Mozilla 1.2b are more strict about the path?
Since your example adds one extra / in the url..



Previous Comments:
------------------------------------------------------------------------

[2002-12-13 19:12:45] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=21004&edit=1

Reply via email to