8 lines
341 B
PHP
8 lines
341 B
PHP
<?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); |