Page 1 of 1

Display Updated banner

Posted: Tue 26 Oct 2010 1:44 am
by fasteddie
So... I searched and searched the forum (30 minutes) and couldn't find the answer so I need to ask...

I've got the banner.php on my site in a path here: http://www.therockwells.net/weather/banner.php

I want to generate a new .png file and display it on my main index.php (in the root) or on any page for that matter (even other sites) but I can't figure out how to "include" the php file to generate a new banner (.png file) and display it...

I tried <?php include("./weather/banner.php") ?> and other iterations but it didn't work...

I also want it to be a clickable link to bring me to this page: http://www.therockwells.net/weather/

Yes, I checked the included documentation from their site but it's not there (or around here).

Oh... my head hurts :bash:

Please someone, feed me a bone.

thanks,

fasteddie

Re: Display Updated banner

Posted: Tue 26 Oct 2010 8:03 am
by steve
The code returns an image, so you can use it as you would any other image in HTML, e.g <img src="http://.....link to your banner.php" ...