add Web Page

This commit is contained in:
dennydai
2016-02-26 23:33:00 +08:00
parent c7198386eb
commit f68cea8903
3 changed files with 57 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ class Base
{
public function msg($id, $msg)
{
echo $msg;
echo "<pre>".$msg;
return;
}
}
+7 -1
View File
@@ -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;
}