STM32
直播中

陈韵瑄

7年用户 910经验值
私信 关注
[资料]

助手函数扩展名权限判断

tion checkExt($file){        if($GLOBALS['isRoot']) return 1;        if (strstr($file,'<') || strstr($file,'>') || $file=='') {                return 0;        }                //'php|phtml|phtm|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm'        $notAllow =

更多回帖

发帖
×
20
完善资料,
赚取积分