Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

cors header php

header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Origin, Cache-Control, Pragma, Authorization, Accept, Accept-Encoding");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cors #header #php
ADD COMMENT
Topic
Name
5+7 =