首页 > 开发 > PHP > 正文

怎么样可以把 phpinfo()屏蔽掉?

2024-05-04 22:57:28
字体:
来源:转载
供稿:网友


q:怎么样可以把 phpinfo()屏蔽掉?

a:路径:c:winntphp.ini(nt和2000)c:windows(95,98)
在 php.ini 配置文件里面有这个选项
disable_functions = ; this directive allows you to disable certain
; functions for security reasons. it receives
; a comma separated list of function names.
; this directive is *not* affected by whether
; safe mode is turned on or off.
改成
disble_functions = phpinfo
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表