fuchou-angle 发表于 2009-9-6 12:13:13

php安全之禁用危险函数

php安全之禁用危险函数


在 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
页: [1]
查看完整版本: php安全之禁用危险函数