php - Where to write Access-Control-Allow-Origin: or Origin in javascript? -


so came know searching need set access-control-allow-origin: or origin tags. where?? suggestions use these in header.

i can't see find explained this. can please tell me put tags , how!!

in php file * guess have ajax request, etc.*

<?php header('access-control-allow-origin : *');   ... 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -