Hello,
I want to read the url (m3u) from this link, unfortunately I get the following error message. what's wrong. I'm relatively new to php sorry
url = https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/
want read this block https://hdtvler2.etvserver.com/live_sd/showtv/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9My8zMS8yMDIwIDQ6MTk6MDUgUE0maGFzaF92YWx1ZT1mejM4UjdDNWQxYjlXODhieU5FL2hnPT0mdmFsaWRtaW51dGVzPTU="
my code
<?php
$homepage = file_get_contents("https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/");
preg_match('#"contentURL": "(.*?)"#', $homepage ,$m3ual);
stripslashes($m3ual[1]);
header("Location: ".$m3ual[1] );
?>