I am using this code in my counter to stop it counting known robots as unique hitsThis is used with more elseif's in order to go though all the robots I know of so far. However I still seem to be getting my Counter creating records in my Db that say the User Agent is "SurveyBot/2.3 (Whois Source)" even witht he code above. Have I made a mistake in the code above you do you recon the problem may be with another part in my code?PHP Code:if (strpos($_SERVER['HTTP_USER_AGENT'],'SurveyBot'))
{
$IsRobot = true;
}
Thanx for any help.




)
Reply With Quote