How use header php code example
Example 1: header cros orgin using php
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: *");
...
Example 2: php header
header ( string $header [, bool $replace = TRUE [, int $http_response_code ]] ) : void