Re: Header location, redirection loses parameters,
| From: | Richard Lynch | Date: | Tue, 10 May 2005 07:08:52 +0000 |
| Subject: | Re: Header location, redirection loses parameters, | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214818@lists.php.net to get a copy of this message | ||
On Mon, May 9, 2005 3:16 pm, Olav Draageset said:
> 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;
> ?>
I would expect it to "just work" if you spelled 'header' correctly...
Are you sure you don't have some kind of mod_rewrite stuff messing you up?
Can you surf DIRECTLY to that URL in your browser and get what you expect?
> The redirection is done properly, but variables are not sent. Can anyone
> say what should be done? (some init settings ??)
AFAIK there is no php.ini setting that would affect/cause this... You
could read through all of php.ini.dist (?) and its comments from the CVS
source in an hour to be sure.
--
Like Music?
http://l-i-e.com/artists.htm