An Ajax "Same Domain" Restriction Workaround
PHP relay script:
Perl CGI relay script:
Leave the instructions in the scripts so they'll be there when you wish to add or remove a domain name.
/relay.php?http://example.com/file.txt and inserts it into the HTML tag with
/relay.php?http://example.com/file.txt is asked for content, relay.php grabs the content from URL
http://example.com/file.txt and returns it to the Ajax engine.
/relay.php?http://example.com/file.txt is a relative URL. The relative URL's parameter is the absolute URL of the content to retrieve from the example.com domain. The Perl CGI software is used the same way. It's URL might be