怎么樣可以把 phpinfo()屏蔽掉?
更新時間:2006年11月24日 00:00:00 作者:
Q:怎么樣可以把 phpinfo()屏蔽掉?
A:路徑:C:\winnt(or windows)\php.ini(NT和2000)C:\windows(95,98)
在 php.ini 配置文件里面有這個選項(xiàng)
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 配置文件里面有這個選項(xiàng)
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
相關(guān)文章
YII框架實(shí)現(xiàn)自定義第三方擴(kuò)展操作示例
這篇文章主要介紹了YII框架實(shí)現(xiàn)自定義第三方擴(kuò)展操作,結(jié)合實(shí)例形式分析了Yii框架自定義第三方擴(kuò)展操作的步驟與相關(guān)實(shí)現(xiàn)技巧,需要的朋友可以參考下2019-04-04
thinkPHP5.0框架獨(dú)立配置與動態(tài)配置方法
這篇文章主要介紹了thinkPHP5.0框架獨(dú)立配置與動態(tài)配置方法,結(jié)合實(shí)例形式分析了thinkPHP5.0框架獨(dú)立配置與靜態(tài)配置的功能、實(shí)現(xiàn)技巧與相關(guān)注意事項(xiàng),需要的朋友可以參考下2017-03-03
PHP上傳Excel文件導(dǎo)入數(shù)據(jù)到MySQL數(shù)據(jù)庫示例
這篇文章主要介紹了PHP上傳Excel文件導(dǎo)入數(shù)據(jù)到MySQL數(shù)據(jù)庫示例,可以將Excel的數(shù)據(jù)寫入到MySQL數(shù)據(jù)庫中,感興趣的同學(xué)可以了解一下。2016-10-10
一次項(xiàng)目中Thinkphp繞過禁用函數(shù)的實(shí)戰(zhàn)記錄
這篇文章主要給大家介紹了一次項(xiàng)目中Thinkphp繞過禁用函數(shù)的實(shí)戰(zhàn)記錄,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下2021-11-11
yii實(shí)現(xiàn)model添加默認(rèn)值的方法(2種方法)
這篇文章主要介紹了yii實(shí)現(xiàn)model添加默認(rèn)值的方法,結(jié)合實(shí)例分析了在rules()方法及在beforeSave()方法中設(shè)定兩種實(shí)現(xiàn)技巧,需要的朋友可以參考下2016-01-01

