元问答栏目视频美女
  1. 编程问答
  2. 答案列表

Fclose: :supplied resource is not a valid stream resource

回答列表
你可以试试这个代码。
if(!is_file(tmp_path.'jusitemap.xml'))。
file_put_contents(tmp_path.'jusitemap.xml',$str)。
else
file_put_contents(tmp_path.'jusitemap.xml',$str,file_append)。
猜你喜欢
相关推荐