Advertisement
Guest User

Untitled

a guest
Dec 15th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. <?php
  2.  
  3. ini_set('max_execution_time', 900);
  4. $url='https://www.fonbet-df1d3.tk/ru/?partner=p14762p93789p5974&subid={subid}';
  5. $code=get_headers($url);
  6. echo($code[0]);
  7.  
  8. if ($code[0]!=="HTTP/1.1 200 OK") {
  9.     // Отправляем с сайта в Telegram
  10.     $token1 = "dsdsd";
  11.     $telegram_admin_id1 = "fdasdas";
  12.     $msg1 = "С fonbet что-то не то.\n". $code[0] ."\nhttps://www.fonbet-df1d3.tk/ru/?partner=p14762p93789p5974&subid={subid}";
  13.     $urltoken1 = 'https://api.telegram.org/bot'. $token1 .'/sendMessage?chat_id='. $telegram_admin_id1 .'&text=' . urlencode($msg1);
  14.     file_get_contents($urltoken1);
  15.     exit();
  16. }
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement