Using PHP and HTML5 to upload cross domain XHR, I cannot seem to get my domain allowed at the target host.
The accepting PHP script uses the following headers:
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: *");
?>
Still, when uploading from server A to B, Chrome tells me " Origin http://www.domain.com is not allowed by Access-Control-Allow-Origin. " (I've replaced the actual domain with domain.com).
I've read through numerous threads here on Stack for the past 4 hours, still no solution.
Thank you in advance.