I have a GoldIPTV.m3u and get.php that display GoldIPTV.m3u
i used this:
<?php
$file = 'GoldIPTV.m3u';
if (file_exists ($file)) {
header ('Content-Description: File Transfer');
header ('Content-Type: application/octet-stream');
header ('Content-Disposition: attachment; filename= "'.basename ($file).'"');
header ('Expires: 0');
header ('Cache-Control: must-revalidate');
header ('Pragma: public');
header ('Content-Length: ' . filesize($file));
readfile ($file);
exit;
}
?>
GoldIPTV.m3u contain 100 lines with different links and the word (key) i want to replace
exact like this: /get.php?CODE=key
i want when i type url
domain.com/get.php?CODE=123456
it will replace (key) on the displayed page with the number witch i typed.
its possible ? thanks for help!