RE: [PHP] Redirects Safari vs Others
| From: | Jay Blanchard | Date: | Tue, 06 Dec 2005 20:23:32 +0000 |
| Subject: | RE: [PHP] Redirects Safari vs Others | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226987@lists.php.net to get a copy of this message | ||
[snip]
// Causes only Safiri to bomb
header("location:
".$_SERVER['PHP_SELF']."?action=listentries&categoryid=".$id."&page=".$pagei
d);
exit;
[/snip]
Since PHP is processed server-side it has to be the URL causing Safari to
bail. Have you echo'd out the URL to see what it is composed of?
$foo =
$_SERVER['PHP_SELF']."?action=listentries&categoryid=".$id."&page=".$pageid;
echo $foo;