Anyway, I just wanted to share my findings here with all of you!
I found this posted somewhere (forget where):
So as far as I know, there are only 4 eggs in PHP and they can be viewed on any PHP site that has 'expose_php' enabled.If anyone is wondering where the eggs are at in the source code, they are in: 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"
Example (from my site):
http://xero.mercury-admin.com/index.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
(I read somewhere that the picture is Version Dependent)
Now, what I want to do, is hook all 4 and display my own egg, the problem is that it seems PHP itself parses it first before my script can hook it
The other problem with hooking them is that they have no GET variable name, only a value (notice ?=PHP..) and my attempts at the following only fail:
Code: Select all
if( in_array( 'PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000', $_REQUEST ) )
{
// blah blah blah..
}I am still trying, and if I find a way I will post it!
(seems like the right forum, I appologize if this post should be elsewhere)