gra*_*ity 64
fopen()或file_get_contents()URL:fopen("http://google.com/", "r")http_get()来自PHP的http模块fsockopen()或发送它stream_socket_client()wget或curl通过system()但是,这些都不能保证在您的服务器上可用.
单程:
$url = "http://www.brothersoft.com/publisher/xtracomponents.html";
$page = file_get_contents($url);
$outfile = "xtracomponents.html";
file_put_contents($outfile, $page);
Run Code Online (Sandbox Code Playgroud)
上面的代码只是一个例子,没有任何(!)错误检查和处理.