Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php cors allow origin

header('Access-Control-Allow-Origin: *');

header('Access-Control-Allow-Methods: GET, POST');

header("Access-Control-Allow-Headers: X-Requested-With");
 
PREVIOUS NEXT
Tagged: #php #cors #origin
ADD COMMENT
Topic
Name
8+6 =