摘要:
首先把内容编码,再追加\xEF\xBB\xBF$fp=fopen("text.txt", "w+"); $text = iconv('gb2312', 'utf-8', "中国");// adding header $text="\xEF\xBB\xBF".$text; fputs($fp, $text); fclose($f); 阅读全文
摘要:
首先把内容编码,再追加\xEF\xBB\xBF$fp=fopen("text.txt", "w+"); $text = iconv('gb2312', 'utf-8', "中国");// adding header $text="\xEF\xBB\xBF".$text; fputs($fp, $text); fclose($f); 阅读全文
摘要:
脚本运行时间调整:set_time_limit(0);ignore_user_abort(); 阅读全文
|