Skip to content

Instantly share code, notes, and snippets.

@bitflower
Created January 9, 2015 11:49
Show Gist options
  • Save bitflower/e63cf54f8c6af27e39c5 to your computer and use it in GitHub Desktop.
Save bitflower/e63cf54f8c6af27e39c5 to your computer and use it in GitHub Desktop.
Activate CORS in PHP
// First line of first PHP file
header( "Access-Control-Allow-Origin: *" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment