Re: [PHP] Include after image or a way to reset header

2006-02-03 Thread Richard Lynch
On Fri, February 3, 2006 10:15 am, tedd wrote: > This is probably an obvious question, but after you create an image, > how can you include another php script? Your image is a single, atomic, non-divisible, non-extensible, object. You should have one URL for the image: http://example.com/buildim

Re: [PHP] Include after image or a way to reset header

2006-02-03 Thread Gerry Danen
Call the image rendering from another page and then let that page continue: caller.php: if ( $is_logged_in ) { echo ""; if ( $get_name != "" ) echo "$get_name"; } showimage.php: Gerry On 2/3/06, tedd <[EMAIL PROTECTED]> wrote: > Hi: > > This is probably an obvious question, but after you crea

[PHP] Include after image or a way to reset header

2006-02-03 Thread tedd
Hi: This is probably an obvious question, but after you create an image, how can you include another php script? For example, if my code ends like so: header("Content-type: image/png"); // Set display mode as PNG imagepng($im); // Display image imagedestroy($im); // Delete image from memory