blob: 4cc99311c3b929ada87792f44df5d2003055fd62 (
plain) (
tree)
|
|
<?php
error_reporting(0);
header("Content-Type: application/json");
header("Access-Control-Allow-Origin: *");
header("X-sijanec-gimsisextclient-endpoint-version: 0.0.1");
require "main.php";
$g = new gimsisextClient();
$g->setusername($_REQUEST['u']);
$g->setpassword($_REQUEST['p']);
echo json_encode($g->{$_REQUEST['m']}($_REQUEST['a'], $_REQUEST['b'], $_REQUEST['c'], $_REQUEST['d'], $_REQUEST['e'], $_REQUEST["f"], $_REQUEST["g"]));
?>
|