元問答欄目視頻美女
  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)。
猜你喜歡
相關推薦