RE: [PHP] Design Problem
| From: | James Holden | Date: | Thu, 30 May 2002 12:09:04 +0000 |
| Subject: | RE: [PHP] Design Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99888@lists.php.net to get a copy of this message | ||
I dont deliver alternate content, I track when they visit which is a
different thing all together.
- James
--------------------------
W: www.londontown.com
@: james@londontown.com
--------------------------
-----Original Message-----
From: Jason Wong [mailto:php-general@gremlins.com.hk]
Sent: 30 May 2002 13:05
To: php-general@lists.php.net
Subject: Re: [PHP] Design Problem
On Thursday 30 May 2002 19:42, James Holden wrote:
> I do it a different way - using IP's can be a bit of a bummer since they
> might change but often as not the hostnames dont.
>
> I detect spiders using the HTTP_USER_AGENT which identifies them either as
> say "kitty once hourly", "GoogleBot" or "Lycos" or some such -
> most of the
> decent spiders use the user_agent var to identify themselves and you can
> display alternate info dependent on which spider it is.
Do note that some (most?) crawlers don't take kindly to this practice of
delivering content based on the HTTP_USER_AGENT. If you're found out you'll
most likely be removed from the search engine in question.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
On the whole, I'd rather be in Philadelphia.
-- W.C. Fields' epitaph
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php