Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $results = file_get_contents('http://example.org:700/handle.php');
- echo $results;
- ?>
- <?php
- header('Access-Control-Allow-Origin: http://example.org');
- //Rest of code
- ?>
- XMLHttpRequest cannot load http://example.org:700/music/soundfile.flac. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://example.org' is therefore not allowed access.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement