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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -