<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); if (isset($_GET['uniqueID'])) { $uniqueID = trim($_GET['uniqueID']); } else { $uniqueID = ""; } if (isset($_GET['school'])) { $school = trim($_GET['school']); } else { $school = ""; } echo $wsc->UpdateSchool($uniqueID, $school);
<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); if (isset($_GET['uniqueID'])) { $uniqueID = trim($_GET['uniqueID']); } else { $uniqueID = ""; } if (isset($_GET['bday'])) { $bday = trim($_GET['bday']); } else { $bday = ""; } echo $wsc->UpdateBirthday($uniqueID, $bday);
<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); if (isset($_GET['uniqueID'])) { $uniqueID = trim($_GET['uniqueID']); } else { $uniqueID = ""; } echo $wsc->GetAllInfo($uniqueID);
<?php include "ws_common.php"; header("Access-Control-Allow-Origin: *"); $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); if (isset($_GET['state'])) { $state = trim($_GET['state']); } else { $state = ""; } if (isset($_GET['year'])) { $year = trim($_GET['year']); } else { $year = ""; } if ($state == "") { echo $wsc->getTornadoDataYear($year); } else { echo $wsc->getTornadoData($state, $year); } ?>
<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); if (isset($_GET['uniqueID'])) { $uniqueID = trim($_GET['uniqueID']); } else { $uniqueID = ""; } if (isset($_GET['code1'])) { $code1 = trim($_GET['code1']); } else { $code1 = ""; } if (isset($_GET['code2'])) { $code2 = trim($_GET['code2']); } else { $code2 = ""; } if (isset($_GET['code3'])) { $code3 = trim($_GET['code3']); } else { $code3 = ""; } if (isset($_GET['code4'])) { $code4 = trim($_GET['code4']); } else { $code4 = ""; }
<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); if (isset($_GET['ownerFriendId'])) { $ownerFriendId = trim($_GET['ownerFriendId']); } else { $ownerFriendId = ""; } if (isset($_GET['name'])) { $name = trim($_GET['name']); } else { $name = ""; } if (isset($_GET['emailid'])) { $emailid = trim($_GET['emailid']); } else { $emailid = ""; } echo $wsc->CreateUser($ownerFriendId, $name, $emailid);
<?php include "ws_common.php"; header("Access-Control-Allow-Origin: *"); $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); echo $wsc->getSolution(); ?>
<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); echo $wsc->GetAllUsers();
<?php include "ws_common.php"; $wsc = new ws_common(); error_reporting(0); header('Content-type: application/json'); echo $wsc->GetAllClasses();