access to xmlhttprequest at from origin in php code example Example: php access origin <?php header("Access-Control-Allow-Origin: *");