|
|
|
|
![]() ![]() |
May 29 2005, 03:44 PM
Post
#1
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 629 Joined: 26-February 05 Member No.: 3,995 |
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.
|
|
|
|
May 29 2005, 04:18 PM
Post
#2
|
|
|
Moderator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,325 Joined: 8-March 05 From: Mawson, Antarctica Member No.: 4,254 |
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.
|
|
|
|
May 29 2005, 10:50 PM
Post
#3
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 362 Joined: 2-March 05 From: The Netherlands Member No.: 4,097 |
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, so include "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.. |
|
|
|
May 30 2005, 12:38 PM
Post
#4
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 69 Joined: 12-March 05 From: Australia Member No.: 4,401 |
For the record (HmmZ
|
|
|
|
May 30 2005, 07:14 PM
Post
#5
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 362 Joined: 2-March 05 From: The Netherlands Member No.: 4,097 |
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) |
|
|
|
May 30 2005, 07:48 PM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 629 Joined: 26-February 05 Member No.: 3,995 |
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 6th September 2008 - 05:22 PM |