strpos($_SERVER['HTTP_USER_AGENT'], 'discoverybot/2.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'SemrushBot/') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'archive.org_bot') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'waybackarchive.org/1.0') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'spbot/4.0') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'Mail.RU_Bot/2.0') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'linkdexbot/2.0') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'webmeup-crawler.com') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;