get request origin php code example Example: php access origin <?php header("Access-Control-Allow-Origin: *");