fgp123 Posted November 18, 2009 Share Posted November 18, 2009 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 More sharing options...
roopurt18 Posted November 18, 2009 Share Posted November 18, 2009 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. Link to comment https://forums.phpfreaks.com/topic/181945-how-to-write-to-a-remote-xml-doc/#findComment-959718 Share on other sites More sharing options...
fgp123 Posted November 19, 2009 Author Share Posted November 19, 2009 Its for a client, i dont normally get too involved with PHP but this project requiers it. It's a basic 1and1 hosting service. The XML file will reside along with the rest of the site (html, images, flash etc) Link to comment https://forums.phpfreaks.com/topic/181945-how-to-write-to-a-remote-xml-doc/#findComment-960844 Share on other sites More sharing options...
roopurt18 Posted November 19, 2009 Share Posted November 19, 2009 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. Link to comment https://forums.phpfreaks.com/topic/181945-how-to-write-to-a-remote-xml-doc/#findComment-961228 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.