Re: PHP Image creation

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

 



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@xxxxxxxxx>
Newsgroups: php.windows
To: <php-windows@xxxxxxxxxxxxx>
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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux