Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help needed to include a dynamic gd image

Status
Not open for further replies.

connectionscentres

Programmer
Jan 5, 2005
16
GB
Hi,

I have created a nice graph in php using gd's functions which generates a png image. Any suggestions on how to embed this into a web page? Simply doing <?php include"graph.php"; ?>
doesnt work because the headers have already been sent off by the parent page.
 
I'll answer your question with a question.



Suppose you had a static PNG on your web server's filesystem. How would you make that image appear in a webpage?



You will use the same method for a dynamically-generated image as you would for a static image.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top