File manager - Edit - /home/autoph/public_html/connectv1/api/interest_hobbies/interest_hobbies.php
Back
<?php include_once("../../cfg/db.php"); include_once("../controllers/interest_hobbies.php"); include_once("../controllers/utility.php"); $interest = new InterestHobbies(); $utility = new Utility(); $server_method = $_SERVER["REQUEST_METHOD"]; if(isset($_REQUEST['apiKey']) ){ $apiKey = $_REQUEST['apiKey']; if($apiKey === '5068581874181452' ){ //Get Interest Content $interestCategory = isset($_REQUEST['interestCategory']) ? $db -> escape($_REQUEST['interestCategory']) : '' ; $search = isset($_REQUEST['search']) ? $db -> escape($_REQUEST['search']) : '' ; $interest->read_interest_content($search,$interestCategory,$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