怎么樣可以把 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
相關(guān)文章
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
一次項目中Thinkphp繞過禁用函數(shù)的實戰(zhàn)記錄
這篇文章主要給大家介紹了一次項目中Thinkphp繞過禁用函數(shù)的實戰(zhàn)記錄,文中通過示例代碼介紹的非常詳細,對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友可以參考下2021-11-11
yii實現(xiàn)model添加默認值的方法(2種方法)
這篇文章主要介紹了yii實現(xiàn)model添加默認值的方法,結(jié)合實例分析了在rules()方法及在beforeSave()方法中設(shè)定兩種實現(xiàn)技巧,需要的朋友可以參考下2016-01-01

