how to support cross origin requests in 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: *");
...