Ways to create files on Apache Server from a php file
Posted: Mon Jan 17, 2011 2:29 am
Hi everybody,
I'm a pretty new guy/woman at Php. I need to create a XML file to store data on the server. The server is a hosting Apache Linux server.
However, I guess because of the security issues, the php file cannot save the created XML file on the server. I used "$xml = new DOMDocument()" method, then create elements, append to the file, and use "$xml->save("test.xml")" to try to save the xml file generated. It works perfectly fine on my local machine (WAMP), yet, failed to work on the remote hosting server.
How to overwrite security issues and able to save the xml file on the server from the Php program running on the server? Please shed some lights if you can... This seems to be the bottleneck of my current project
Thanks a lot for any suggestions
Maggie
I'm a pretty new guy/woman at Php. I need to create a XML file to store data on the server. The server is a hosting Apache Linux server.
However, I guess because of the security issues, the php file cannot save the created XML file on the server. I used "$xml = new DOMDocument()" method, then create elements, append to the file, and use "$xml->save("test.xml")" to try to save the xml file generated. It works perfectly fine on my local machine (WAMP), yet, failed to work on the remote hosting server.
How to overwrite security issues and able to save the xml file on the server from the Php program running on the server? Please shed some lights if you can... This seems to be the bottleneck of my current project
Thanks a lot for any suggestions
Maggie