Finding the refering domain instead of the refering page
| From: | KING OGNAJD | Date: | Sun, 07 Oct 2001 20:42:06 +0000 |
| Subject: | Finding the refering domain instead of the refering page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70295@lists.php.net to get a copy of this message | ||
Is it possible to find the refering DOMAIN instead of the refering PAGE? I
know that I could use $HTTP_REFERER but that gives the full adress, and I
don¹t want that. Instead of showing:
http://www.domain.com/directory/file.html
I just want the:
http://www.domain.com/
Part.
Thanks in advance.
django