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