Jun 28

php中的彩蛋,可以试一下

生活点滴
网上找到的,好玩,先看原文:
You can see if somebody's using PHP just by adding the following to the end of the URL:
?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
If the page is using PHP, this will show the PHP credits.

Setting expose_php to Off in php.ini prevents this.


这个只介绍了一个,我们再看以下三个:

http://www.slleo.com/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 (PHP Credits)
http://www.slleo.com/?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 (PHP Logo)
http://www.slleo.com/?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 (Zend Logo)
http://www.slleo.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 (Easter Egg)

取?=后面的,加在网站的.php后面,可以试下。
以下是我得出的几个图片:







不过大家不要拿baidu和yahoo试,没效果的。


tags:

to "php中的彩蛋,可以试一下"

Leave a Reply