PHP Gets the Google Robot access footprint method, Google robot
The example in this article describes how PHP obtains the Google Robot access footprint. Share to everyone for your reference. Specific as follows:
<?php$email = "Test@test.com", if (eregi ("Googlebot", $HTTP _user_agent)) {if ($QUERY _string! = "") { $url = "http:/ /". $SERVER _name. $PHP _self. '? '. $QUERY _string; The else { $url = "http://". $SERVER _name. $PHP _self;} $date = Date ("F J, Y, G:i a"), Mail ($email, "[Googlebot] $url", "$da Te-google crawled $url ");}? >
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/984625.html www.bkjia.com true http://www.bkjia.com/PHPjc/984625.html techarticle PHP Gets the Google Robot access footprint method, Google Robot This example describes how PHP access to Google robot visit footsteps. Share to everyone for your reference. Specific as follows: ...