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