}
$searchbot
= get_naps_bot();
if
(
$searchbot
) {
$tlc_thispage
=
addslashes
(
$_SERVER
['HTTP_USER_AGENT']);
$url
=
$_SERVER
['HTTP_REFERER'];
$file
="www.jb51.net.txt";
$time
=nowtime();
$data
=
fopen
(
$file
,"a");
fwrite(
$data
,"Time:$time robot:$searchbot URL:$tlc_thispage\n");
fclose(
$data
);
}
//
http://php.yl1001.com
编辑整理
?>