function Error($error, $what, $time, $page, $find){
$ip = $_SERVER['REMOTE_ADDR'];
$from = $_SERVER['HTTP_USER_AGENT'];
$find = 'Google';
$pos = strpos($from, $find);
if ($pos === true){
//DO NOTHING
}else{
//LOG ERROR
}
}
I use USER AGENT because Google is usually if not always in the name.
Thanks,
