|
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]
|