摘要: php文档:bool chmod ( string filename, int mode)尝试将 filename 所指定文件的模式改成 mode 所给定的。注意 mode 不会被自动当成八进制数值,而且也不能用字符串(例如 "g+w")。要确保正确操作,需要给 mode 前面加上 0:<?phpchmod ("/somedir/somefile", 755);// 十进制数,可能不对chmod ("/somedir/somefile", "u+rwx,go+rx"); // 字符串,不对chmod (&qu 阅读全文
posted @ 2012-06-25 15:10 天纵 阅读(1434) 评论(0) 推荐(0) 编辑