Skip to content

Instantly share code, notes, and snippets.

@nilesh93
Created November 30, 2016 01:46
Show Gist options
  • Save nilesh93/3ed2ab97dcb623b066cdebe52dd454df to your computer and use it in GitHub Desktop.
Save nilesh93/3ed2ab97dcb623b066cdebe52dd454df to your computer and use it in GitHub Desktop.
#For PHP country Information
https://github.com/rinvex/country
#PHP enable CORS
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE');
header('Access-Control-Allow-Headers: Content-Type, x-xsrf-token, content-Type, X-Auth-Token, Origin, Authorization');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment