|
Posted by Marco Tabini on 07/17/05 18:11
You can--you need to check the signature of the visiting client and
determine whether it is a spider (for example, Google indexers are called
"googlebot"s). This is in $_SERVER['HTTP_USER_AGENT']. Here's a thread on
the subject:
http://news.php.net/php.general/217460
You can also use the browscap-related functionality to extract more
information from the user-agent string, although this is not always 100%
reliable:
http://ca.php.net/get-browser
Remember, however, that most search engines shun this practice and may drop
your site from their indices if you adopt it.
Marco
On 7/17/05 10:55 AM, "jenny mathew" <jennymat@gmail.com> wrote:
> hello group,
> is it possible to make write a program in php ,so that only search bots can
> see the output of that program.i mean to say that a program echoes a line at
> the footer which only search bots can see,it will be invisible to general
> visitors.
Navigation:
[Reply to this message]
|