Forum Moderators: coopster
any ideas? a current seo client of mine is a bit confused about why anyone being paid 10% od their sales would link to their site and is viewing it as misuse of their trademark... I just want to make it click away :-)
That should do it. Make sure it's at the top of the file, before anything is output to the browser or you will get a "headers already sent" error.
Also note that it is not completely reliable.
From php.net
'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.