| Path : /var/www/html/main/ |
| Current File : /var/www/html/main/modify-API.php |
<?php
/*!
* Copyright Anucha Puangpaka
* Contact anucha.ppk@icloud.com 062-479-9836
*/
include('ap.php');
if($_GET['nu']=="xxx"){
$headers = apache_request_headers();
if(isset($headers['Token']) && $headers['Token']=="$token"){
$result = array();
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
echo json_encode($result);
}
}
?>