D-Bot/classes/Web/init.php
2016-02-26 23:33:00 +08:00

11 lines
263 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 = $_SERVER['QUERY_STRING'];
}else{
exit;
}