1.判断是否存在一:if(@mkdir("/img",0700)){echo"ok";}else{echo"error";}//存在输出“ok”,不存在输出“error”二:if(is_dir("/img")){echo"ok";}else{echo"error";}//存在输出“ok”,不存在输出“error”if(is_dir("img")){echo"ok";}else{echo"error";}//存在输出“ok”..
分类:
其他好文 时间:
2015-01-12 16:49:59
阅读次数:
182