Posted by Chung Leong on 11/08/06 20:39
Prince of Code wrote:
> Hi All,
>
> I wonder how the function phpinfo() draws the image of phplogo as an
> Image. When I viewed source, Its more strange It shows like this
> <img border="0"
> src="/test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" alt="PHP Logo"
> />
>
> What does this means ?
>
> Anybody out there to solve my curiosity ?
The PHP and Zend logos are compiled into the interpreter. When it sees
the special ids it outputs the image.
You'd find them in main/logos.h in the source package. The static char
arrays are binary data of gif files. Besides the PHP and Zend logos,
there's also a picture of a dog.
Navigation:
[Reply to this message]
|