简体   繁体   English

PHP 将 XML 保存到文件

[英]PHP save XML to file

I want to save XML files from a PHP script (original XML file and also create new XML file from old file) on a Windows Vista/7 with IIS 7 pc. I want to save XML files from a PHP script (original XML file and also create new XML file from old file) on a Windows Vista/7 with IIS 7 pc.

From this question, How to save an XML file on the web server using PHP?从这个问题, 如何使用 PHP 在 web 服务器上保存 XML 文件? , I found out that to save an existing file I needed to make that file writable by anyone. ,我发现要保存现有文件,我需要使该文件可由任何人写入。 That question talks about suexec to give permission to PHP to write files.该问题谈到 suexec 授予 PHP 写入文件的权限。 What is the equivalent in Windows/IIS? Windows/IIS 中的等价物是什么?

Thanks.谢谢。

You will have to set up the permissions yourself.您必须自己设置权限。 Have a look at this: http://technet.microsoft.com/en-us/library/bb727008.aspx for how to do it.看看这个: http://technet.microsoft.com/en-us/library/bb727008.aspx了解如何操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM