Access-Control-Allow-Origin header missing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I have the following code to add the appropriate header then redirect but I am still getting an error that this header is missing. What am I doing wrong?

        header("HTTP/1.1 301 Moved Permanently");
header("Access-Control-Allow-Origin: http://".$_SERVER['HTTP_HOST']);
        $augmentedUrl = $playbackbase."?authTicket=$authTicket";
        header("Location: $augmentedUrl");

Thank you.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux