Header set Access-Control-Allow-Origin code example
Example 1: php access origin
<?php
header("Access-Control-Allow-Origin: *");
Example 2: access-control-allow-origin
Access-Control-Allow-Origin: *
Example 3: header access-control particular domain
Access-Control-Allow-Origin: http://siteA.com