Jump to content

how to write to a remote XML doc?


fgp123

Recommended Posts

HI all. What I'm trying to do is using PHP take some database information, store in variables and then write this info to a xml file sitting on a web hosting site remotely.

 

Any links or examples on writing to a XML file remotely with PHP. How do you get past the obvious security/passwords.

 

 

Link to comment
https://forums.phpfreaks.com/topic/181945-how-to-write-to-a-remote-xml-doc/
Share on other sites

The site owner should provide you with some sort of mechanism to write the file on their server.  There are many methods in which they can do this and the method they decide to choose will dictate your next series of "How do I..." questions.

 

If you're asking for help with writing a file on a server that you do not have permission to write to, then this is the wrong place to ask and I suggest you skip this endeavor altogether.

Well they need to provide you with a means of writing a file to their server.

 

They could create a file upload script.

 

They could use soap.

 

They could allow you to use scp.

 

They could allow you to use ftp.

 

There's lots of choices.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.