Cross-Origin Resource Sharing Example
JavaScript PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
cors.js
cors.php
index.html

README

This is a Cross-Origin Resource Sharing demo.

Both GET and POST examples are given for accessing a resource cross-origin.
The PHP file contains the necessary Access-Control headers for announcing that
a resource supports cross-origin requests.

http://saltybeagle.com/2009/09/cross-origin-resource-sharing-demo/