I been trying to create a simple php script to covert a dynamic url generated by another php into an image but all i get is a blank page, does anybody know why this is not working?
<?php
include('icecast.php');
$cover = ($stream['artist']['top_albums']['0']['image']['3']);
header('Content-Type: image/jpeg');
readfile('$cover');
?>
I have try so many different ways but i still get the same result.