You are here: Re: [PHP] Redirect with referer info « PHP « IT news, forums, messages
Re: [PHP] Redirect with referer info

Posted by Matt Darby on 07/30/05 17:45

Dotan Cohen wrote:

>Hi list,
>I need to redirerect a page, and send the referer information along
>with the redirect. I have tried:
>header("Location: $url");
>and
>print"<html><head><meta http-equiv='refresh' content='0; URL=$url'
>/></head></html>";
>
>Both of them redirect as expected, but the browser (Firefox and Opera)
>do not send referer information along with the request. As this is for
>link affiliates, I need that referer info sent with the request. How
>to do that? Thanks.
>
>Dotan Cohen
>Song Lirics http://song-lirics.com/sl/artists.php/b Song Lirics
>
>
>

URL parameters.

$url="www.somesite.org?id=asdf&referrer=2345";
header("Location: $url");

 

Navigation:

[Reply to this 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

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