D-Bot/classes/Web/init.php

11 lines
274 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'])){
2016-04-14 04:08:33 -05:00
$text = urldecode($_SERVER['QUERY_STRING']);
2016-02-26 09:33:00 -06:00
}else{
exit;
}