Header location, redirection loses parameters,
| From: | Olav Draageset | Date: | Mon, 09 May 2005 22:16:33 +0000 |
| Subject: | Header location, redirection loses parameters, | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214812@lists.php.net to get a copy of this message | ||
I have several URLs that I want to point to the same site with a different parameter. I try to do this by redirecting all to the same location, by
<?
hader ("Location: http://mysite.com/index.php?var1=value1&var2=value2");
exit;
?>
The redirection is done properly, but variables are not sent. Can anyone say what should be done? (some init settings ??)
Thanks