I am tearing hair out.... I wish to use a php file to display an image. Now thats a pretty simple exercise I understand - using the php file as the src element of a img call.
Like: <img src="makeimage.php"> etc
I have a pretty simplified example which i know is generating the path to the file and the file correctly - but simply will not play ball and states "errors in file" when viewed in firefox..
Perhaps an expert could comment on this code?
Server is Apache / Php 5 running on Intel Mac via MAMP Pro
//for the sake of ease i am making some variables hardcoded
//allthough in my script they arrive in another fashion
$path = "chat_images/";
$src = "chat1_online";
$type = "gif";
$img = $path.$src.".".$type;
//which does exist on the server
//attempt one (these not done at same time obviously)