EIOS/bot_tg.php

8 lines
341 B
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php
error_reporting(0);
header('Content-Type: application/json; charset=utf-8');
$data = array('ok'=>'ok');
echo json_encode($data);
file_put_contents('bot_tg.txt',date('H:i:s d.m.Y').':'.print_r($_REQUEST,1),FILE_APPEND);
$body = file_get_contents('php://input');
file_put_contents('bot_tg.txt',date('H:i:s d.m.Y').':'.$body,FILE_APPEND);