PHP 4.x Easter Egg - Author's Picture

NOTE: This has only been tested on Linux with PHP compiled as module for the apache 1.3.x webserver, but should work on other platforms too.

1. open a PHP generated page from your server (or any server with PHP 4.x installed) in your web client.
2. append the string "?=PHPE9568F36-D428-11d2-A769-00AA001ACF42" (with out the quotes) to the url.
3. enjoy the resulting image :)

User Rating:
7.2
  7.2/10 with 219 votes
Contributed By: gjm on 08-03-2000
Reviewed By: Webmaster
Special Requirements: PHP 4.x, apache 1.3.x, web browser capable of viewing GIF images
Please correct this Egg if you see errors.

Pictures and Videos

Got this from the Windows compiled version of Apache Got this from the Linux compiled version of Apache This one is on PHP 4.3.7 on WinXP and Apache 2
Got this from the Windows compiled version of Apache Got this from the Linux compiled version of Apache This one is on PHP 4.3.7 on WinXP and Apache 2
I don't know what software the server uses - it's taken from http://reichelt.de/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 2007 version : Note: logos shown here differ because the egg changes almost yearly php 5.3.1
I don't know what software the server uses - it's taken from http://reichelt.de/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 2007 version : Note: logos shown here differ because the egg changes almost yearly php 5.3.1

Do you have another one? Send us a picture or video of this Egg!

Comments

Philip Olson writes:
Interested in seeing the source of this egg? It's contained within three files, have a look here : http://lxr.php.net/ident?i=PHP_EGG_LOGO_GUID Was added on around April 2000.
31 of 36 people found this comment helpful. Did you? Yes No
Philip Olson writes:
If the PHP directive expose_php is off (in php.ini), this "egg" will not show.
30 of 35 people found this comment helpful. Did you? Yes No
Bawy writes:
For those who have no idea what PHP is, you can see the image here: http://www.zend.com/zend/products.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 It is totally funny!!!
25 of 36 people found this comment helpful. Did you? Yes No
Bill writes:
This picture appears on April 1st when a file containing the following directive is run:
15 of 20 people found this comment helpful. Did you? Yes No
dttvb writes:
Make a file, in the file contain this: Run this file in webserver Look at first line PHP Version x.y.z ................ PHP Logo That image point to ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 Look at the first grey box This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies ............... Powered by Zend logo That image point to ?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 Under that link, have a link saying PHP Credit, That link point to ?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 That's why these are here, some of them shall not egg. They're here just to work with phpinfo(); Take a look at php-source/ext/standard/info.h #define PHP_LOGO_GUID "PHPE9568F34-D428-11d2-A769-00AA001ACF42" #define PHP_EGG_LOGO_GUID "PHPE9568F36-D428-11d2-A769-00AA001ACF42" #define ZEND_LOGO_GUID "PHPE9568F35-D428-11d2-A769-00AA001ACF42" #define PHP_CREDITS_GUID "PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000"
12 of 15 people found this comment helpful. Did you? Yes No
Nice egg!!! This is awesome, but the URLS posted are outdated. This is probably because there are new and better php versions, so the sites probably moved. There still are some sites which run on 4.0 though. To view the funny image go here: http://www.phpfreaks.com/error.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 To view the logos, go here: http://www.phpfreaks.com/error.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 http://www.phpfreaks.com/error.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 And finally, to view the credits (boring and not quite an eegg - its in the documentation) go here: http://www.phpfreaks.com/error.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 Of course, you can view the egg on any php website you like, you just have to add the ?=PHPB8... part to it. Have fun searching for other cool eggs!
10 of 13 people found this comment helpful. Did you? Yes No
CoolGui writes:
This works with PHP4 for Windows as well. You would think someone would find this whole routine in the source.
8 of 13 people found this comment helpful. Did you? Yes No
User24 writes:
The only truly hidden image is the "?=PHPE9568F36-D428-11d2-A769-00AA001ACF42" one - the rest are called from the page produced by the phpinfo() function, which actually works on any day of the year.
7 of 11 people found this comment helpful. Did you? Yes No
There are a total of 3 different pictures hidden in PHP V4+ You can use this on any site that has PHP. http://www.flight1721.co.uk/index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 http://www.flight1721.co.uk/index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 http://www.flight1721.co.uk/index.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 In fact if you see a URL ending in .php add ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 or ?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 or ?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 to the end of the URL and see for yourself. Works on all platforms as they have the same actual source code!
11 of 21 people found this comment helpful. Did you? Yes No
Philip writes:
I'm no C wizard, but I believe this image is shown in stead of the php logo on top of the phpinfo() page on march 1st. Look in ext/standard/info.c line 166
7 of 15 people found this comment helpful. Did you? Yes No
hias writes:
the id for the image changes every version - but to make it easier, you could write yourself a tiny php module containing a funktion like this: function_entry easter_functions[] = { PHP_FE(easter_egg, NULL) {NULL, NULL, NULL} /* Must be the last line in easter_ffunctions[] */ }; PHP_FUNCTION(easter_egg) { // zend_alter_ini_entry("expose_php", sizeof("expose_php"), "On", 2, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); php_info_logos(PHP_EGG_LOGO_GUID); } (the rest can be used instantly from ext_skel) or just put it in your usual dev-helper module.
3 of 9 people found this comment helpful. Did you? Yes No
Also ... http://www.flight1721.co.uk/index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 shows the list of credits for PHP.
4 of 12 people found this comment helpful. Did you? Yes No


Register - Privacy Policy - About Us - Contact Us