I want to keep track of referers to my site. I want to store the domain name of the
referer in a db field. I want 'just' the domain name, not the full url.
So I need a snippet of code that could parse the $HTTP_REFERER, and return just the
... would all give me http://www.google.com
Could anyone give me a hand? Thanks!
: Joseph Szobody :
"Computers are like airconditioners: They stop working properly if you open windows."
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php