I want to get the auth-token from the site
http://0--0.gq/Jio/Bittu_Ghosh_22.php
Then want to redirect to the site with (the header user-agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0)
http://test.m3u8The auth code fount from 0--0 site;
like http://test.m3u8?jct=UCS4RJSHD5jo8arL58VzIw&pxe=1516978804&st=ERlTqgAHVcFh0hbcSiHLpI99v030NvaayeUjaqsX1LVG-Po.zwpXoEoe5UjJ8TitkXQUuTbwIHsDgZrGHZze1Hj0OWLpz7RVfZBt6Mpz
bellow is my snippet , which is able to redirect to the page i am wanting . but is unable to send the header.
At the same time video js like similar video player is unable to play video from (the test.php )
//Saved This code as test.php
<?php
$location = file_get_contents("http://0--0.gq/Jio/Bittu_Ghosh_22.php");
header('Location: http://test.m3u8'.$location);
?>