D-Bot/classes/Web/init.php

11 lines
263 B
PHP
Raw Normal View History

2016-02-26 09:17:32 -06:00
<?php
$BOT = new Base;
$from = 'WebClient';
2016-02-26 09:33:00 -06:00
if (file_get_contents("php://input")) {
$text = file_get_contents("php://input");
}elseif (!empty($_SERVER['QUERY_STRING'])){
$text = $_SERVER['QUERY_STRING'];
}else{
exit;
}