Reply to Re: [PHP] Header location, redirection loses parameters,

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация