source: Dev/branches/rest-dojo-ui/client/dojox/io/tests/crossSite.php @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 284 bytes
Line 
1<?php
2        header("XDomainRequestAllowed: 1");
3        header("Access-Control: allow <*>");
4        if ($_REQUEST["url"]) {
5                print "proxied";
6        }
7        if ($_REQUEST["windowname"]) {
8                print "<html><script type='text/javascript'>window.name='cross-site response'</script></html>";
9        }
10
11?>
12cross-site response
Note: See TracBrowser for help on using the repository browser.