Posted by Chris Hope on 06/25/05 13:08
dojodirectory.co.uk wrote:
> I want to show a list of referrers on my site.
>
> when i echo $_SERVER['HTTP_REFERER'] for a google search i get
>
> http://www.google.co.uk/search?biw=1003&hl=en&q=dojodirectory&meta=
>
> is there any variable to just get www.google.com
http://www.php.net/parse_url
--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
Navigation:
[Reply to this message]
|