$fp = fopen($stateRoot."/".$channel_id."_".$newsID.".html","w+");
fwrite($fp,file_get_contents($WEB_ROOT.$index_info_dynamic_php."?id=".$newsID));
fclose($fp);
这是我的代码
我用file_get_contents函数得不到php结果,反而得到根目录下的html
fwrite($fp,file_get_contents($WEB_ROOT.$index_info_dynamic_php."?id=".$newsID));
fclose($fp);
这是我的代码
我用file_get_contents函数得不到php结果,反而得到根目录下的html
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货