beeseven 0 Report post Posted May 29, 2005 Say you have this script that makes an image, and you want to include it in another page. Would you just use <img src="blah.php">? I'd test it right now, but all my PHP image stuff is on my school's server, which is currently down. Share this post Link to post Share on other sites
snlildude87 0 Report post Posted May 29, 2005 Yeah, that's how you do it. The reason I know is from the many Home Land Security indicators that are online. Search for them and look at the code that they give you. Share this post Link to post Share on other sites
HmmZ 0 Report post Posted May 29, 2005 well i take it you use an image editor such as imageready (wich creates a fair amount of html for rollover images and such)if you do get the html code of an image editor, then you should use the include statement rather then including it through the <img> tag, the image tag could work (i wouldnt know) but im 100% sure it works with include, soinclude "blah.php";and for the record, what kind of image will it create? if you actually use php functions to control your image i would love to know.. Share this post Link to post Share on other sites
theRealSheep 0 Report post Posted May 30, 2005 For the record (HmmZ ), http://php.net/manual/en/ref.image.php has all the information on using the GD library functions in PHP to create, manipulate and save images. Share this post Link to post Share on other sites
HmmZ 0 Report post Posted May 30, 2005 Whoa! thanks for the link there realsheep. This is one lovely feature of PHP i didn't know about! Wonderful! Oh im so excited! I must try it out! (in other words, thanks for the link) Share this post Link to post Share on other sites
beeseven 0 Report post Posted May 30, 2005 If you think that's neat, php can also create pdf files...http://us3.php.net/manual/en/ref.pdf.php Share this post Link to post Share on other sites