[PHP] searchbot script

2005-07-17 Thread jenny mathew
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.

Re: [PHP] searchbot script

2005-07-17 Thread Marco Tabini
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 googlebots). 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