note 27957 deleted from ref.image by betz

From: Date: Sat, 04 Jun 2005 11:15:40 +0000
Subject: note 27957 deleted from ref.image by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-89902@lists.php.net to get a copy of this message
Note Submitter: dbonomo at 3drealm dot net ---- This may be a known thing among the more experienced programmers here, but a basic piece of information needed to allow you to include a php-generated image in a page with other content is that you treat it as if it were an image. Here is an example of what I mean: <img src=filename.php?var1=val1&var2=val2> In the above example filename.php is the php file that has all the image generation code. The php you write to create the picture is essentially a picture itself, and needs to be treated as such. Maybe Im being thick, but it took a couple of days of hammering away at it to be able to mix php-generated images with the rest of the page's content. I am so far very impressed with how straightforward this all is. I have been avoiding this aspect of the code but now I love it. Hope this helps. Doug Bonomo

« previous php.notes (#89902) next »