Referer parsing functions?
| From: | Brian Dunning | Date: | Fri, 18 Feb 2005 17:05:22 +0000 |
| Subject: | Referer parsing functions? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209041@lists.php.net to get a copy of this message | ||
I've found a number of PHP classes for parsing server logs, but I just want to parse a single referer at a time. Anyone know of a class that will do this?
1) Extract just the site from the full referer string,
2) Extract the query keyword (if any) no matter what search engine the referer is from.
I may be asking too much, but one never knows unless one asks... :)