210 Comments
- dognose, on 10/12/2007, -2/+13unfortunately, this can be considered a security weakness by some.
Certain times, you want to hide the fact that you're using a certain language. This can be used to test any page for PHPness. - dognose, on 10/12/2007, -0/+11They also have the logos and credits...
53 #define PHP_LOGO_GUID "PHPE9568F34-D428-11d2-A769-00AA001ACF42"
54 #define PHP_EGG_LOGO_GUID "PHPE9568F36-D428-11d2-A769-00AA001ACF42"
55 #define ZEND_LOGO_GUID "PHPE9568F35-D428-11d2-A769-00AA001ACF42"
56 #define PHP_CREDITS_GUID "PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000" - Protoss, on 10/12/2007, -0/+10Anyone notice it's different on http://diggnation.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
Different dogs on different versions? - diggerphelps, on 10/12/2007, -1/+8http://savoirprint.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
- dognose, on 10/12/2007, -0/+6 if ((ta->tm_mon==3) && (ta->tm_mday==1)) {
988 logo_guid = PHP_EGG_LOGO_GUID;
989 } else {
990 logo_guid = PHP_LOGO_GUID;
991 }
The logo turns into a dog on April fools day. - burke, on 10/12/2007, -0/+4http://rubyonrails.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
- jonathanex, on 10/12/2007, -0/+4Mine isn't even a dog!
http://www.jonx.co.uk/phpBB2/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 - Ratty, on 10/12/2007, -0/+2The dog in the picture appears on the phpinfo() page if the date is the first of april
- notromda, on 10/12/2007, -0/+2I got one of some guy with french fries stuck up his nose. But I'm too embarrassed to post a link, for fear that someone would find out how old the php installation is.
- dognose, on 10/12/2007, -0/+2The logos are in this file: /repository/ php-src/ main/ logos.h
http://lxr.php.net/source/php-src/main/logos.h#707 - deancowan, on 10/12/2007, -0/+2http://lxr.php.net/ident?i=PHP_EGG_LOGO_GUID
- ACoolie, on 10/12/2007, -0/+24.0 is the guy with the pencils in his mouth
4.3 is one of the dogs
5.0 is the rabbit. - nadnerb, on 10/12/2007, -1/+3i think mine's a rabbit...http://nadnerb.org/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
- Rainbow101, on 10/12/2007, -0/+1All i see is a picture of PHP
- Flukey, on 10/12/2007, -0/+1ofcourse it doesn't. Google doesn't run on php.
- ehmjay, on 10/12/2007, -0/+1cute...not as good as the batmobile in Kings Quest Two...but good nonetheless.
- atheken, on 10/12/2007, -0/+1One year on April Fool's Day (I think), the phpinfo output produces some interesting graphics. Freaked me out the first time I saw it, I thought that my installation had been hacked.
- dognose, on 10/12/2007, -0/+1So, the dog is different on different php versions.
- h0dg3s, on 10/12/2007, -0/+1"Easter eggs are not acceptable in serious software. Ever wonder whyOfficed 2003 does not have an easter egg? Check this post from MS GuruLarry Osterman for more information on this point"
I've seen easter eggs in Excel97 + Word97, so I have no doubt that they would have put them in 2003. - Philipp_Lenssen, on 10/12/2007, -0/+1Nice. I wonder if we soon find a lot of results for the following in Google (at the moment, ~35):
inurl:PHPE9568F36-D428-11d2-A769-00AA001ACF42
(Even when no one links to such sites, the Google Toolbar makes them indexable.) - ptcfast2, on 10/12/2007, -0/+1It seems that someone at Digg has taken notice and it no longer works. =P
- ElectricGrandpa, on 10/12/2007, -0/+1"So, once again, PHP and open source in general loses credibility. And the digg nation thinks its cool..."
Live a little, have some fun, assume they know what they're doing. If you can't get around the fact that they included this, then stick with ASP.
Of course we think it's cool, it is cool. Do you really think your opinion is more valuable than just about everyone else's in this thread? Of course not. Chill a bit.
-Matt - MikeKnoop, on 10/12/2007, -0/+1Any ideas what that string means?
-Mike - mrmatchgame, on 10/12/2007, -1/+2Bring on the easter egg with Women showing thier boobs!!!
- dognose, on 10/12/2007, -0/+1"It doesnt show up if you dont have expose php turned on."
Oh, you're right. I thought I had it off, but it was indeed on. Turning it off does turn off the egg.
verucasalt: While I agree that easter eggs can be a problem, and that people can hide bad code in software. I think that it's less likely to hide bad things in open source. The fact that this can be turned off with the "expose php" option, and the fact that reading the source, it's pretty clear what this does and where it is and how to change it. It's really not hidden at all. I take back my comments on this being a security weakness. It does probably add 6k to both the source and runtime though, which for some people would be a lot. - gamerzworld, on 10/12/2007, -0/+1i ment lol at rc collins
- HeliumHigh, on 10/12/2007, -0/+1Ya, this is really old. It has worked on php sites for quite a long time, and there have been tons of them.
Digg still so that others can see the fun and humor in opensource - vekron, on 10/12/2007, -0/+1I got several different dogs at different sites.
There's even one on the PHP site:
http://www.php.net/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 - gofortyeight, on 10/12/2007, -0/+1Haha, digg fixed it as well as the other easter eggs. They all redirect back to the homepage.
- Anth, on 10/12/2007, -0/+1Is it me or does it not work on DIGG anymore?
- Wang, on 10/12/2007, -0/+1Actually ignore me :) I think this easter egg only works if the server has expose_php enabled in the php.ini - I tried it on a few servers that don't expose php, and the easter egg did not work. So this makes sense, and is a thumbs-up to php security ;)
- DewayneSmith, on 10/12/2007, -0/+1http://sourceforge.net/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
- NoahK, on 10/12/2007, -0/+0That's a rabbit, not a mouse.
- battybattybatt, on 10/12/2007, -0/+0Im sorry, no dogg, no digg.
- battybattybatt, on 10/12/2007, -0/+0Im sorry, but for me, this dog is just a bitch to find, where is this thing again?
- inotocracy, on 10/12/2007, -0/+0Nevermind, it seems to be turned off when the variable expose_php is set to off-- which ours is. All in good fun then.
- your_mom, on 10/12/2007, -0/+0this is WAY cool and all but.......WHY A DOG!?!? LoL
- geoffoliver, on 10/12/2007, -0/+0I get a little mouse when I do mine - http://meatwad.bounceme.net/simple_personal/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
- Amplix, on 10/12/2007, -0/+0was skeptic, tried on my own website.
Buh?
lol, that's interesting - aspangenberg, on 10/12/2007, -0/+0For The PHP Authors Image (Dog):
http://www.digg.com?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
For The PHP 4.x Credits
http://www.digg.com?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
PHP Logo
http://www.digg.com?=PHPE9568F34-D428-11d2-A769-00AA001ACF42
Zend Logo
http://www.digg.com?=PHPE9568F35-D428-11d2-A769-00AA001ACF42
...
http://seclists.org/lists/webappsec/2004/Oct-Dec/0329.html...
A couple of things...
1) Website regarding the easter eggs, it appears you do need to have
expose php ON:
http://www.phpfreaks.com/articles/84/0.php
2) I quickly looked at the php-5.0.0 source and noticed the Easter Egg
"keys" in this file...
ext/standard/info.h
from that file:
#endif /* HAVE_CREDITS_DEFS */
#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" - inotocracy, on 10/12/2007, -0/+0There seems to be a different dog for different versions of PHP. This bothers me as well, the company I write software for changes the extensions of some of our web applications to hide the fact that the frontend is powered by PHP. The less a user knows of the system they are using the harder it is to exploit, with this easter egg it can easily be discovered that we use PHP.
Now that this is public knowledge (even though the source is open it was obviously hidden if it is just now found) I hope the PHP devs will tell us where this easter egg resides within the code so that we can remove it. Maybe a simple `grep -r 'PHPE9568F36-D428-11d2-A769-00AA001ACF42' phpsrc/*` may provide some interesting results... - inotocracy, on 10/12/2007, -0/+0comrademikhail "As mentioned previously, if you have expose_php off, this easter egg doesn't work!! Lighten up people, get a sense of humor."
Look two posts below my original, I mentioned that it doesn't work if that variable is set to off. I also added "all in good fun". - llbbl, on 10/12/2007, -0/+0the 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); - crazchris, on 10/12/2007, -0/+0haha nice +digg
- yesukai, on 10/12/2007, -0/+0"If you are deploying an enterprise system and it is discovered that some teenager put an "easter egg" of a cute dog in your site, where you can not control it or not even aware of it, you have a serious problem."
Why? It doesnt show up if you dont have expose php turned on. If you are that concerned, turn it off. You have complete control over it. Open source. Edit it. - jochex, on 10/12/2007, -0/+0omg, good eggs.
- digger247, on 10/12/2007, -0/+0lol ive counted 8.
- ptcfast2, on 10/12/2007, -0/+0@battybattybatt
Digg no longer works with this easter egg due to someone fixing it on their part. You can probably find it on many other PHP powered sites though. - wilf_brim, on 10/12/2007, -0/+0+Digg. Anybody know who the dogs are? Or the bunny?
- comrademikhail, on 10/12/2007, -0/+0*sigh*
"No, you have completely missed the point. The problem is not the dog. The problem is that the dog reveals uncontrolled undocumented and unknown "features" running without your knowledge. If you dont think that is a problem, try reading the link I posted. It's not that hard, just click on it."
And this can't happen in closed source software why?? It's actually less likely to happen in open source because you can examine the code.
"This bothers me as well, the company I write software for changes the extensions of some of our web applications to hide the fact that the frontend is powered by PHP. The less a user knows of the system they are using the harder it is to exploit, with this easter egg it can easily be discovered that we use PHP."
As mentioned previously, if you have expose_php off, this easter egg doesn't work!!
Lighten up people, get a sense of humor. -
Show 51 - 100 of 204 discussions



What is Digg?