safe_mode :在php5.3以上版本,safe_mode被弃用,在php5.4以上版本,则将此特性完全去除了
3、请说明php.ini中的safe_mode开启之后影响了哪些函数?
答案:Safe_mode是php的安全模式。开启之后,主要会对系统操作、文件、权限设置等方法产生影响,主要用来应对webshell。以下是受到影响的一些函数:ckdir,move_uploaded_file,chgrp,parse_ini_file,
chown,rmdir,copy,rename,fopen,require,highlight_file,show_source,include,symlink,link,touch,mkdir,unlink,exec,
shell_exec,pasathru,system,popen
需要注意的是:在php5.3以上版本,safe_mode被弃用,在php5.4以上版本,则将此特性完全去除了。

 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号