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