1 2 3 4 5 6 7 8 9
<?php error_reporting(0); header("Content-Type: application/json"); 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'])); ?>