You are here: Re: How to redirect with referrer? « All PHP « IT news, forums, messages
Re: How to redirect with referrer?

Posted by sam on 11/10/05 19:33

I do not get you question but it seams that your are looking
for a way to get a variable value in the next page.

header ('Location: ' . $url . '?myreferrer=http://www.referer.com');
OR if the $url contains a '?'
header ('Location: ' . $url . '&myreferrer=http://www.referer.com');

You get the value of myreferrer in $_GET['myreferrer']

If this is not what you are looking for, please explain

Regards.


"Du" <vietquest@hotmail.com> a ιcrit dans le message de news:
1130358614_815@spool6-east.superfeed.net...
> Is there a way I can redirect a page with referrer attached with the
> header?
>
> I tried this, and it always return nothing as referrer value
> header ('Location: ' . $url);
>
> I also tried this
> header ('Location: ' . $url . "\r\nReferer: http://www.referer.com");
>
>
> Can some give me the raw http header equivalent of header ('Location:
> ...")? I like to use fsockopen to redirect
>
> Thanks
>
>
> ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
> News==----
> http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
> Newsgroups
> ----= East and West-Coast Server Farms - Total Privacy via Encryption
> =----

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация