if (eregi("Google", $_SERVER[HTTP_USER_AGENT])) {
$tarih = date("d/m/Y G:i:s");
$dosya = fopen ("volkan.txt" , 'a') or die ("Dosya açılamadı!");
fputs ( $dosya , "$tarih - $_SERVER[REMOTE_ADDR] - $_SERVER[HTTP_USER_AGENT] - $_SERVER[REQUEST_URI]\n" ) ;
fclose ($dosya);
}
sadece bu kodu index.php yemi yerlestirecegiz baska bi dosyaya yerlestirmiyorz demi? birde index.php dosyasinin en basina yerlestirdim bisey olmaz demi