|
|
 |
Re: FN-FORUM: Full Referrer URL PHP
date posted 12th May 2008 17:22
> >What do you want to achieve by knowing the referrer URL?
>
> The referring site :)
> The keywords really.
Ah, you mean when the referring site is a search engine, and you want to
see the keywords used? This works OK for those visitors who don't have
the HTTP_REFERER header spoofed or removed by their internet software or
browser. The AWstats statistics package (written in perl) uses it to list
keywords used at the major search engines to find the site.
From the PHP manual about HTTP_REFERER:
The address of the page (if any) which referred the user agent to the
current page. This is set by the user agent. Not all user agents will set
this, and some provide the ability to modify HTTP_REFERER as a feature. In
short, it cannot really be trusted.
So I think that's what you need to use, but it won't always work.
HTH,
Anthony
--
www.fonant.com - Quality web sites
|
 |
|