通过以上两种方法,我们可以屏蔽一些PHP信息,一些服务器默认设置expose_php是开启的,所以来看我这篇文章的朋友们最好是把它关闭了。 Really appreciate it Jeff Starr‘s post expose_php, Easter Eggs, and .htaccess. 示例: 复制代码 代码如下: http://wowo.haotui.com/space.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 http://en.wikipedia.org/w/index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 http://www.zend.com/en/index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42