I have a script that needs to be changed from “file_get_contents” to CURL.
Can anyone help me with this? I’m a noob in PHP so any help would be appreciated.
$stream_url = “http://streams.greenhost.nl:8080/amateurmuziek”;
$xspf_url = $stream_url . “.xspf”;
$xml = file_get_contents($xspf_url);
$data = simplexml_load_string($xml);
// Track artist
// Track title