php cors allow localhost 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: *");
...