add Web Page
This commit is contained in:
@@ -3,7 +3,7 @@ class Base
|
||||
{
|
||||
public function msg($id, $msg)
|
||||
{
|
||||
echo $msg;
|
||||
echo "<pre>".$msg;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -2,4 +2,10 @@
|
||||
$BOT = new Base;
|
||||
|
||||
$from = 'WebClient';
|
||||
$text = $_GET['c'];
|
||||
if (file_get_contents("php://input")) {
|
||||
$text = file_get_contents("php://input");
|
||||
}elseif (!empty($_SERVER['QUERY_STRING'])){
|
||||
$text = $_SERVER['QUERY_STRING'];
|
||||
}else{
|
||||
exit;
|
||||
}
|
||||
Reference in New Issue
Block a user