Reply to Re: phpinfo() - How does it generates PHP Logo

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация