Hey guys.
I had a guys write this code for me a while back before I started to learn PHP. The script is a stats tracker. But, it must have some problems. To see if it was working, I started using Google Analytics as well. The Google stats tracker says I get 100 visits a day and the home brew version says I have 1000. I am tending to believe the Google stats gizmo, but I want to fix the original one that was made for me. SO here is my question:
Is it possible to determine that it is Google's or Yahoo's Spider checking out my site.
I'm thinking something like if(Google or Yahoo){don't count};
Is there anyway to do this?
Thanks fellas and Happy New Year !!