- file_get_contents: documentation ( source)
- base64_encode: documentation ( source)
- header: documentation ( source)
<?php
$id=$_GET["id"];
$session1 = "p7h9asa2dtctql4";
header("Content-type: text/plain");
$cadena = base64_encode("format=1&profile=$id&&lan=2&rows=40&session=$session1");
$a= "https://totalgo.totalplay.com.mx:444/TPMHLSWeb/M3U8LiveFile?a=$cadena&f=.m3u8";
$página_inicio = file_get_contents ($a);
echo $página_inicio;
?>