file_get_contents и удаление специальных символов

<?php
$streamSite = "http://testsite.com/token.php";
function writeFile($url, $channel) {
$File = $channel.".strm";
$Handle = fopen($File, 'w');
fwrite($Handle, $url);
fclose($Handle);
}
$input = @file_get_contents($streamSite) or die("Please try again later: $url");
preg_match('/(m3u8.*hdnea=.*acl=.*~hmac=.*)/', $input, $matches);

echo $matches[1];


?> 

1

Решение

Задача ещё не решена.

Другие решения

Других решений пока нет …

По вопросам рекламы ammmcru@yandex.ru
Adblock
detector