note 27957 added to ref.image

From: Date: Fri, 27 Dec 2002 11:01:29 +0000
Subject: note 27957 added to ref.image
Groups: php.notes 
Request: Send a blank email to php-notes+get-41343@lists.php.net to get a copy of this message
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 -- http://www.php.net/manual/en/ref.image.php http://master.php.net/manage/user-notes.php?action=edit+27957 http://master.php.net/manage/user-notes.php?action=delete+27957 http://master.php.net/manage/user-notes.php?action=reject+27957

« previous php.notes (#41343) next »