[!--quoteo(post=349353:date=Feb 25 2006, 07:06 PM:name=cameron)--][div class=\'quotetop\']QUOTE(cameron @ Feb 25 2006, 07:06 PM) [snapback]349353[/snapback][/div][div class=\'quotemain\'][!--quotec--] That checks if it is a bot, correct? Does this work well for most SE bots? (eg: google, yahoo, msn) Any browsers this may cuase a problem for? [/quote] I use the following on my site to determin browser type which also detects bots ( google, slurp etc ) you can modify it for your own needs. [code] if ((ereg('Nav', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) || (ereg('Gold', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) || (ereg('X11', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) || (ereg('Mozilla', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) || (ereg('Netscape', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) AND (!ereg('MSIE', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) AND (!ereg('Konqueror', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) AND (!ereg('Yahoo', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) AND (!ereg('Firefox', $HTTP_SERVER_VARS['HTTP_USER_AGENT']))) { $browser = 'Netscape'; } elseif( ereg('Firefox', $_SERVER['HTTP_USER_AGENT']) ) { $browser = 'FireFox'; } elseif( ereg('MSIE', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) { $browser = 'MSIE'; } elseif( ereg('Lynx', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) { $browser = 'Lynx'; } elseif( ereg('Opera', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) { $browser = 'Opera'; } elseif( ereg('WebTV', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) { $browser = 'WebTV'; } elseif( ereg('Konqueror', $HTTP_SERVER_VARS['HTTP_USER_AGENT'])) { $browser = 'Konqueror'; } elseif( ( eregi('bot', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) || ( ereg('Google', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) || ( ereg('Slurp', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) || ( ereg('Scooter', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) || ( eregi('Spider', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) || ( eregi('Infoseek', $HTTP_SERVER_VARS['HTTP_USER_AGENT']) ) ) { $browser = 'Bot'; } else { $browser = 'Other'; } [/code] hope it helps