php教程 采集其它服务器文件程序
*/
header("pragma:no-cachern");
header("cache-control:no-cachern");
header("expires:0rn");
$rmurl = "http://www.bkjia.com/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);
WampServer是一个在Windows上的Web开发平台,它允许您使用Apache2、PHP、MySQL和MariaDB创建动态Web应用程序。WampServer会自动安装您需要的一切,以直观地开发Web应用程序。您甚至可以在不触碰设置文件的情况下调整服务器。最重要的是,WampServer提供免费版本(在GPML许可下),包括32位和64位版本。WampServer不兼容Windows XP、SP3或Windows Server 2003。
56
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号