简单的问题。我有:
我有文件:sitemap.xml on SERVER 1 (vps),我希望在服务器2中使用ex函数下载sitemap.xml。file_get_contents(ip_vps/sitemap.xml)。
但是我不能下载文件或者下载很长时间。如何配置好的VPS?
PS:对不起我的英语。我试着学习。
发布于 2013-10-15 09:12:53
试着这样做
file_put_contents('server1.xml',file_get_contents('http://othersiteURL.com/sitemap.xml'));
simplexml_load_file('server1.xml');
https://stackoverflow.com/questions/19377012
复制相似问题