File manager - Edit - /home/autoph/public_html/connectv1/api/school/school.php
Back
<?php include_once("../../cfg/db.php"); include_once("../controllers/school.php"); include_once("../controllers/utility.php"); $school = new School(); $utility = new Utility(); $server_method = $_SERVER["REQUEST_METHOD"]; if(isset($_REQUEST['apiKey']) ){ $apiKey = $_REQUEST['apiKey']; if($apiKey === '4959765044675731' ){ //Get Interest Content $search = isset($_REQUEST['search']) ? $db -> escape($_REQUEST['search']) : '' ; $school->read_school_content($search,$db); }else{ $return_arr["message"]=" You are not allowed to do this action."; echo $return_arr["message"]; return; } }else{ $return_arr["message"]=" You are not allowed to do this action."; echo $return_arr["message"]; return; } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings