[HELP] PHP referrer / content issue

carlx

Registered Member
Joined
Dec 28, 2008
Messages
95
Reaction score
88
Hi,

I have been trying to do this for a few hours and although i have searched a lot of google and BHW, i still cannot find something that works and nor am i good enough at PHP to change things to my requirements, usually i am but nothing seems to be working on this one.

What i need is this;

check HTTP_REFERER > if it contains a url from an array ('google.com','bing.com','somethingelse.co.uk') then return content: X > if it does not contain a string from the array then return content: Y

If anybody has a script like this, can point me towards one or has any advice then that would be great.

Cheers.
 
[RESOLVED] Sorted it, thanks.
 
Back
Top