Re: Grabbing referring keywords.....
| From: | Brian Clark | Date: | Thu, 18 Jan 2001 04:40:45 +0000 |
| Subject: | Re: Grabbing referring keywords..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35261@lists.php.net to get a copy of this message | ||
Hello Dallas,
(DK == "Dallas Kropka") dallask@austin.rr.com writes:
DK> (Note: I know about using $HTTP_REFERER But how can I take that
DK> info and strip it, if that is what I need to do?)
I've never done this, but I think the basic idea would be to determine
what the query strings of each spider/search-engine look like, take
$HTTP_REFERER and determine which engine it came from, parse it (using
explode() probably (maybe by the ? mark; again I haven't done this)),
then maybe explode() it again based on &, then explode() each
key/value pair on = -- if they even use that type of query string.
That's why I mentioned, "determine which engine it came from."
All wild guesses, but that may lead you in the right direction.
-Brian
--
Simplicity does not precede complexity, but follows it.