Discover the best of the web!
Learn more about Digg by taking the tour.
PHP Easter Egg (Works On Digg!)
neowin.net — Well, it just so happens that if you add ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 to the end of any URL that is a PHP page you will see a funny little picture of a dog. Try it right now with any URL on digg!
- 3785 diggs
- digg it
- ptcfast2, on 10/12/2007, -2/+2Let me also say that it works with any site using PHP 4.X and above. It is not digg specific. ;)
- TheQ, on 10/12/2007, -1/+0This is funny, open source even adds easter eggs!
- Antinous, on 10/12/2007, -0/+0very nice :-)
- Zonkzor, on 10/12/2007, -6/+1Anyone know where the image is actually stored? Seems like a .jpg would stick out like a soar thumb in the PHP directory of files.
=-----
How To Be A http://CollegeCheapskate.com
-----=- ultrafez, on 10/12/2007, -0/+0I think it's probably in the PHP processor, so that's why you can't find it... if you could find it, it wouldn't be much of an easter egg really, would it?
- whammypower, on 10/12/2007, -1/+0"Seems like a .jpg would stick out like a soar thumb in the PHP directory of files."
If you load it in Firefox, it tells you that it's a GIF. It's probably hidden in one of the source files somewhere - ehmjay, on 10/12/2007, -0/+1cute...not as good as the batmobile in Kings Quest Two...but good nonetheless.
- 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. - MikeKnoop, on 10/12/2007, -0/+1Any ideas what that string means?
-Mike - SnowballDotBe, on 10/12/2007, -5/+0Kinda hard to actually see it's a dog...
Anyway, here's the link in full: http://digg.com%3F=PHPE9568F36-D428-11d2-A769-00AA001ACF42/
-------------------------
http://www.snowball.be - 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? - paulmetzger, on 10/12/2007, -0/+0wow, the first 406 i've ever seen
just tried it on my webhost and got
406 Not Acceptable
Not Acceptable
An appropriate representation of the requested resource ******.php could not be found on this server. - smithk, on 10/12/2007, -0/+0that's awesome.
- zestynet, on 10/12/2007, -0/+0This has been around for 5+ years now ... http://www.eeggs.com/items/16437.html ... just google the var.
- fanboydcs, on 10/12/2007, -3/+0I was able to extract the code and I added my own picture check it out! dont worry its a picture of a music note.
http://foundyouth.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 - SnowballDotBe, on 10/12/2007, -5/+0Ignore that one, here it is :p
http://digg.com?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
---------------------
http://www.snowball.be- ultrafez, on 10/12/2007, -0/+0Dead link.. just goes to normal Digg
- dognose, on 10/12/2007, -0/+1So, the dog is different on different php versions.
- SwK386, on 10/12/2007, -0/+0yep it looks like differnt dogs on different versions
- deb6404, on 10/12/2007, -1/+0That's awesome.
- ptcfast2, on 10/12/2007, -0/+0@ Protoss
Yeah, I guess so. That is cool. :D - Paradox, on 10/12/2007, -0/+0Doesnt work on the Podtacular 2.0 pages, and i coded them in PHP
- ozmm, on 10/12/2007, -1/+1It's not a security weakness. If you want to hide that your site is running on PHP, then hide it. There are ways of disabling this.
- Ratty, on 10/12/2007, -0/+2The dog in the picture appears on the phpinfo() page if the date is the first of april
- dj_sea2005, on 10/12/2007, -0/+0wow.. this is quite something... its awesome!
- AdamD, on 10/12/2007, -0/+0Awesome!
http://www.digg.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 - mikeazorin, on 10/12/2007, -0/+0I was just testing this with many sites and check this out. It's a picture of a different dog!
http://www.yessoftware.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 - matsiescruff, on 10/12/2007, -0/+0wow. that's pretty funny. nice easter egg.
- monopoly41, on 10/12/2007, -0/+0whose dog is that?
- 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" - wired4u, on 10/12/2007, -1/+0thats cool +digg
- Hacktivist, on 10/12/2007, -0/+0I get the same different dog on my site that everyones been getting.
- TridenTBoy, on 10/12/2007, -3/+1Doesn't work on google.com
- Flukey, on 10/12/2007, -0/+1ofcourse it doesn't. Google doesn't run on php.
- rc_collins, on 10/12/2007, -7/+0this is such crap, i dont want stupid dog pics in my software. i hope they patch this up and get rid of who ever added this to php.
I run business websites, not clown camp websites!
--dan- ultrafez, on 10/12/2007, -0/+0Chill out! What's the problem with a picture of a dog? It's just a bit of fun!
- SnowballDotBe, on 10/12/2007, -6/+0Google isn't made with PHP ;)
----------------
http://www.snowball.be - gamerzworld, on 10/12/2007, -0/+0^^lol
- gamerzworld, on 10/12/2007, -0/+1i ment lol at rc collins
- 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 - mattimoto, on 10/12/2007, -0/+0haha.. this is awesome. Dugg.
Nothing like finding it on your own site as well to add a chuckle. - 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. - 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.
- macfan3107, on 10/12/2007, -0/+0http://www.digg.com/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
there's another. digg use php-4.3
set expose_php in php.ini to off and you're sorted - hamster, on 10/12/2007, -1/+0Cool, but ugh.. Feel sorry for the people who need to hide what they're running :(
- whalesalad, on 10/12/2007, -2/+0Yeah different dog on the PHP site...
http://www.php.net/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 - Bluezdood, on 10/12/2007, -0/+0Haha cool. Do the dogs have names??? We need to find out.
- 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 - yonah, on 10/12/2007, -0/+0haha, dan. you have a clown camp site :D
- pvera, on 10/12/2007, -0/+0Eh, I did not expect it to work on my site. Even worked on 5.1+ beta.
- xerohour, on 10/12/2007, -1/+0I got a totally different dog ! http://www.xerohour.org/hideme/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
- wardriver20, on 10/12/2007, -1/+0COOL
- deancowan, on 10/12/2007, -0/+2http://lxr.php.net/ident?i=PHP_EGG_LOGO_GUID
- InvisionUK, on 10/12/2007, -1/+0As bad as this'll sound, it doesn't exactly create a great image for serious websites. I tried it on a random teacher's resource website (very serious, all above board, pip pip old bean and all that), and got a pic of a sausage dog.
It might make the stuffier webmasters switch from PHP to something else in the long run.
But still, I think it's a nice touch. I'm just saying not everyone will think that. -
Show 51 - 100 of 197 discussions

Digg is coming to a city (and computer) near you! Check out all the details on our