note 498 modified in setcookie by ronabop
| From: | ronabop@php.net | Date: | Sat, 09 Sep 2000 02:49:41 +0000 |
| Subject: | note 498 modified in setcookie by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4583@lists.php.net to get a copy of this message | ||
There IS a solution to the IE4 setcookie/header("Location:xxx") problem. What you do is
this:
Place the following into a file, such as "redir.php3":
header("Location: $redir_to\n\n");
Then, in the file that is setting the cookies, place this:
$redir_to = "http://your_url_here";
include("redir.php3");
That'll get around the pesky IE4 problem. =)
http://www.php.net/manual/function.setcookie.php