Thanks, Paul, you got it right. I was trying to do it all in one file/page. I'll have a go at your suggestion. dave > I might be reading this wrong, but I do not think you should put your > meta refresh request in the png creation script. It should be in the > html body script. > Index.php > ======================== > Meta-refresh to call itself in 30 secs > Call to <img src="php_radio_image_creation_script.php"> > php_radio_image_creation_script.php > ======================== > header("Content-type: image/png") > Echo image content > -Paul