search 登录 注册
arrow_back返回列表
ID:49789
light_modedark_modedark_modedark_modestar
Lv.1 韶华一笑间
edit_note帖子 805
stars积分 7,464
event加入 2011-06-08
怀旧国机

[教程]php安全之禁用危险函数

schedule发表于 2012-07-22 18:45:00 visibility查看 211 chat_bubble回复 4
#1 楼主
在 php.ini 中找到

disable_functions =

这一行,在其后面添加需要禁止的危险函数名,以英文逗号分隔

disable_functions=passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server

全部回复 (4)

ID:98215
light_modedark_mode
Lv.1 韶华一笑间
2012-07-22 19:04:00 沙发
我不知道
ID:35009
light_modedark_modedark_modestar
Lv.3 畅意三江水
2012-07-22 19:44:00 板凳
嘿嘿、
ID:1258
light_modedark_modestar
Lv.1 韶华一笑间
2012-07-22 21:07:00 地板
表示看不懂
ID:113438
dark_modedark_modedark_mode
Lv.1 韶华一笑间
2012-07-22 22:44:00 #5
什么嘛
登录 后才能回复