bert6911
Registered Member
- Apr 23, 2007
- 82
- 37
Ok, I know the answer to this is going to be simple, BUT I have never had to use this type of check before and I don't know the keys/values to use.
So I want to check if a referer to my site CONTAINS a certain variable that I will assign and if it does, do something different than if it doesnt.
Example:
If the referer to my site contains google.com I want to be able to just set the contains to check for "google" and then go elsewhere if it does contain that.
How do I check if a referer just CONTAINS something, instead of having to put in the entire url.
Hopefully that makes sense.
Thanks in Advance!
So I want to check if a referer to my site CONTAINS a certain variable that I will assign and if it does, do something different than if it doesnt.
Example:
If the referer to my site contains google.com I want to be able to just set the contains to check for "google" and then go elsewhere if it does contain that.
How do I check if a referer just CONTAINS something, instead of having to put in the entire url.
Hopefully that makes sense.
Thanks in Advance!