Skip to content

Instantly share code, notes, and snippets.

@bgadrian
Created March 16, 2015 17:32
Show Gist options
  • Save bgadrian/a936cad0f62366441835 to your computer and use it in GitHub Desktop.
Save bgadrian/a936cad0f62366441835 to your computer and use it in GitHub Desktop.
Header, for cross domain AJAX request
/in the response page
header('Access-Control-Allow-Origin : *'); //* all requests origins sites are allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment