we want to create a script that gather data from url.
I have read a lot about this in internet, but cant manage to make it work.
The data i need to get is a key that is found on a specific url.
playlist: '/get_file.php?stream=WyJPRUU1TkRWRk5VUXpSVFJGUXpFM1FUb3hNemcxTWpFME5Ua3lMamMzTlRRNlpHWTBZV00wTUdVNU16ZzJObVZqTkdFNU9HSXdaVEptT0dGaE5XUmhaREUzTUdVd09UUTJaZz09IiwicmVnIl0=',
i need that long key that is after **stream=** and ends with
',
we saw some examples, like:
<?php
$link = file_get_contents("http://www.domain.com");
$file = strip_tags($link, "<div>");
preg_match_all("/<div/>(?:[^<]*)<\/div>/is", $file, $content);
print_r($content);
?>
but its not our case. Please help us to get this data from url, thnx for reading.