When using the $_SERVER['REFERER'] varible when someone is sent to you site from another via clicking a link etc, how do you dectect search engines spiders/bots.
I am doing a voting script and obviously i want to filter the above kind of trafic to keep the stats real.