最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php 采集其它服务器文件程序
时间:2022-06-24 18:26:20 编辑:袖梨 来源:一聚教程网
header("pragma:no-cachern");
header("cache-control:no-cachern");
header("expires:0rn");
$rmurl = "http://www.111com.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);
相关文章
- 庄园领主重型犁怎么用 05-04
- 剑星禁忌支线怎么完成 05-04
- 《无悔华夏》2022年6月17日渔樵问答答案分享 05-04
- 庄园领主怎么生产瓦片 05-04
- 剑星不明礼物支线密码是什么 05-04
- 剑星失窃的珍宝支线怎么做 05-04