You are here: Re: How to get referrer parameters? « PHP Programming Language « IT news, forums, messages
Re: How to get referrer parameters?

Posted by Jonathan Wiltshire on 11/03/10 11:41

"Janwillem Borleffs" <jw@jwscripts.com> wrote in message
news:440ac9eb$0$71441$dbd41001@news.euronet.nl...
> Jan wrote:
>> If a referrer contains parameters, and I'd like to save these in a
>> cookie, is this possible?
>>
>
> When provided, its value is stored in the following variable:
> $_SERVER['HTTP_REFERER']
>
> And yes, it's misspelled...

That wasn't the question, rather collecting the get string from the
referrer. However I believe PHP trims the referrer to show only the URI, not
the whole request string. If you have access to log files you could use
these to parse out the referrers, but that's only really helpful *after* the
event, because the server will probably lock them until they are next
rotated.

Jon

 

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

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