Re: Header location, redirection loses parameters,

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux