21,887
社区成员
发帖
与我相关
我的任务
分享
$p = xml_parser_create('utf-8');
xml_parse_into_struct($p, file_get_contents($this->tmpdir . $_FILES['xmlfile']['name']), $vals, $index);
xml_parser_free($p);
print_r($vals);
$strXML = file_get_contents("/home/www/.../home/.../Tmp/xxx.txt");
$so = simplexml_load_string(iconv('gbk','utf-8',$strXML));