Is there a way to use $HTTP_REFERER and only get the host name, removing whatever file and/or directory the link was placed.
Basically, if the user came from www.domain.com/links/links.html,
I just want www.domain.com returned.
Thank you all in advance for any help you might provide - I truly appreciate it.
-=Lazzerous=-