Hello
I want to do the following:
Get the referrer
If the referrer includes "google" display $xxx
else display $yyy
How can i check if the referrer has a certain string (ie "google") in it?
All i've got so far is basically "$ref = getenv('HTTP_REFERER');"
(ps: this is in php)
I want to do the following:
Get the referrer
If the referrer includes "google" display $xxx
else display $yyy
How can i check if the referrer has a certain string (ie "google") in it?
All i've got so far is basically "$ref = getenv('HTTP_REFERER');"
(ps: this is in php)