access control allow origin header in secure server php code example
Example: header cros orgin using php
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: *");
...
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: *");
...