| 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 | ?> |
| 12 | cross-site response |