faqts : Computers : Programming : Languages : PHP : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 2 people (50%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

Unable to display PHP-generated image

Dec 27th, 2006 21:53
C de la Cruz,


I apologize for sending this question without the details.
I have an image-generating script myimage.php that's worked and that 
I've used for years. But on one particular web server I uploaded to, 
the behavior is strange. If I enter the URL 
http://www.domain.ext/myimage.php, the picture is displayed as 
expected. But if I insert the script into HTML, like <img 
src="myimage.php">, it fails to display and I get the broken image 
icon, instead.
This has not happened to me before, but I do not know enough about PHP 
builds and web server settings to figure this out.
Any suggestions? Thanks for any help!
C de la Cruz