mattscotne
Programmer
Hi,
I know I can use: $_SERVER['HTTP_REFERER']) to get the referer, but how do I get the domain only?
Examples:
- To - asite.com
- To - asite.com
- To - asite.com
- To - asite.com
I am pretty sure there must be a simple way to do this?
I know I can use: $_SERVER['HTTP_REFERER']) to get the referer, but how do I get the domain only?
Examples:
- To - asite.com
- To - asite.com
- To - asite.com
- To - asite.com
I am pretty sure there must be a simple way to do this?