怎么樣可以把 phpinfo()屏蔽掉?
更新時間:2006年11月24日 00:00:00 作者:
Q:怎么樣可以把 phpinfo()屏蔽掉?
A:路徑:C:\winnt(or windows)\php.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
A:路徑:C:\winnt(or windows)\php.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
相關文章
smarty模板中使用get、post、request、cookies、session變量的方法
這篇文章主要介紹了smarty模板中使用get、post、request、cookies、session變量的方法,需要的朋友可以參考下2014-04-04去掉destoon資訊內容頁keywords關鍵字自帶的文章標題的方法
這篇文章主要介紹了去掉destoon資訊內容頁keywords關鍵字自帶的文章標題的方法,有一定的實用價值,需要的朋友可以參考下2014-08-08PHP性能優(yōu)化工具篇Benchmark類調試執(zhí)行時間
這是PHP性能優(yōu)化系列第二期,如何使用PEAR工具類Benchmark逐行獲取代碼或函數的執(zhí)行時間2011-12-12