Re: PHP Image creation
| From: | Mikey | Date: | Thu, 23 Sep 2004 09:08:56 +0000 |
| Subject: | Re: PHP Image creation | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24639@lists.php.net to get a copy of this message | ||
No there is no way to inline an image using HTML. The output from phpinfo()
shows the following code for the image:
<img border="0" src="/test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42"
alt="PHP Logo" />
This is actually how the PHP Easter egg works too - try appending
"?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" to any PHP page.
Mikey
----- Original Message -----
From: "Riaan Stander" <rstander@exa.co.za>
Newsgroups: php.windows
To: <php-windows@lists.php.net>
Sent: Wednesday, September 22, 2004 10:45 PM
Subject: PHP Image creation
> Hi
>
> I'm using the GD library to create images from data in a database.
> Currently I call a php page as my image source and all the code for the
> image generation is in this page, eg: <img src="image.php">
>
> Is there any way you can do the same thing but just calling a function
> in the current php file, rather than having to create the extra
> image.php file. If you have a look of the output of phpinfo the zend
> logo seems to be generated in such a way.
>
> Thanks,
> Riaan Stander