File manager - Edit - /home/autoph/public_html/data03252025consolidation/api/brand/brand.php
Back
<?php include_once("../../cfg/db.php"); include_once("../controllers/brand.php"); include_once("../controllers/utility.php"); $brand = new Brand(); $utility = new Utility(); $server_method = $_SERVER["REQUEST_METHOD"]; if(isset($_REQUEST['apiKey']) ){ $apiKey = $_REQUEST['apiKey']; if($apiKey === '6019050878857324' ){ $search = isset($_REQUEST['search']) ? $db -> escape($_REQUEST['search']) : '' ; $brand->read_brands_offered_model($search, $db); } else if($apiKey === '6019050878857325' ){ $search = isset($_REQUEST['search']) ? $db -> escape($_REQUEST['search']) : '' ; $brand->read_brands_offered_model_no_limit($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