D-Bot/classes/Web/init.php
2016-04-14 17:08:33 +08:00

11 lines
274 B
PHP

<?php
$BOT = new Base;
$from = 'WebClient';
if (file_get_contents("php://input")) {
$text = file_get_contents("php://input");
}elseif (!empty($_SERVER['QUERY_STRING'])){
$text = urldecode($_SERVER['QUERY_STRING']);
}else{
exit;
}