以下为调用方法creat_file("./log/","aa3.txt");$ss->write_file("./logpath/","ss.txt","thisisthefilecontent",1);?>