![]() |
|
|
+ Search |
![]()
|
Feb 14th, 2002 11:13
Ben Udall, Django Bohren, http://www.php.net/manual/en/function.parse-url.php
You can use the parse_url() function to get the domain (host) from the referer URL. $url = parse_url($HTTP_REFERER); echo $url['host'];