PHP头条
热点:

php 采集其它服务器文件程序


php教程 采集其它服务器文件程序
*/
header("pragma:no-cachern");
  header("cache-control:no-cachern");
  header("expires:0rn");
  $rmurl = "http://www.111cn.net/demodata.txt";
 
 $infostring = file_get_contents($rmurl) or die("连接远程网址失败!");
 $infos = split(',',$infostring);
 $maxnum  =count($infos);
  $rmurl = trim($infos[rand(0,$maxnum-1)]);
 
  $zipbin = file_get_contents($rmurl);
 $fp = fopen(dirname(__file__).'/dedev56demo.zip','w');
 fwrite($fp,$zipbin);
 unset($zipbin);
 fclose($fp);

www.phpzy.comtrue/php/7892.htmlTechArticlephp 采集其它服务器文件程序 php教程 采集其它服务器文件程序 */ header(pragma:no-cachern); header(cache-control:no-cachern); header(expires:0rn); $rmurl = http://www.111cn.net/demodata.txt; $infostring = file_get_conten...

相关文章

    暂无相关文章
相关频道:

PHP之友评论

今天推荐