MyBB Community Forums

Full Version: checking spiders
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I am trying to create a plugin and I want to know the user is spider or not.

How should I do it?


Thanks
global $session;
if($session->is_spider == true)
{
	//do something
}
else
{
	//do something else
}