如何保存wordpress xml导出文件以保存域服务器?

时间:2015-06-13 05:00:34

标签: php xml wordpress

在wordpress中,当我们点击工具>导出按钮时,它会将xml文件下载到我们的计算机。但我想将此文件保存到相同的域名和托管。如何执行此操作? 我想使用像

这样的功能
$file = 'wordpress.xml';
// save the xml file to same hosting server where domain is host not our computer
$current = file_get_contents($file);

0 个答案:

没有答案