摘要:
<?php header("content-type:text/html;charset=utf-8"); $file = './aa.txt'; ###判断是不是文件 if(is_file($file)){ ####判断是不是可写 if(is_writable($file)){ // echo " 阅读全文
摘要:
准备xmlwen文件:a.xml <?xml version="1.0" encoding="UTF-8"?> <humans> <zhangying> <name>张映</name> <sex>男1</sex> <old1>280</old1> </zhangying> <tank> <name> 阅读全文