Posted by Richard Lynch on 05/10/05 10:08
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
[Back to original message]
|