Menu
ok either I am very tired or losing it but why does the page end after the image is displayed?
<?
$opts = array(‘http’=>array(‘method’=>”GET”,’header’=>”Accept-language: enrn”));
$context = stream_context_create($opts);
$fp = fopen(‘index_img/logo_pbs_wkno.jpg’, ‘rb’, false, $context);
fpassthru($fp);
fclose($fp);
print “hi”;
?>
I even tried replacing the fclose with just exit;
and nothing.
What I am trying to do is use the image in a page without showing the link to the image.