Re: Include after image or a way to reset header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/buildimage.php

And you can embed that image URL into some HTML:
<html>
  <body>
    <img src="http://example.com/buildimage.php"; />
  </body>
</html>

But if you try to spit anything other than the image out with the
image, you just build a broken image, because it's no longer a valid
JPEG (or GIF or PNG or whatever).

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux