(ASP) ADO to XML to XML to MySQL (PHP)
I am creating a solution whereby a system under ASP can share data with a system under PHP. The data is links and reviews of websites.
At ASP101.com they have a sample of code that allows one to export database records into an XML file.
What I want to do is use this XML from the windows server and allow access to it from another server in a different country running PHP.
This I think I can do.
What I want to do next is take the XML feed and add it's contents to another DB this time a MySQL database on the PHP hosting account.
From there I can use SQL to re-formatt the data into the correct tables.
The weakest link is that I have no idea how to get the XML into the database. Many because I suck at PHP haveing only been learning it for two weeks.
Can anyone help me.
Re: (ASP) ADO to XML to XML to MySQL (PHP)
There are a bunch of rather good ideas going on there.
I had thaught to do it passivly by creating the XML file and allowing the other to collect it whenever it was needed.
But initiate and send on demand has some benifits I had not previously considered.
I imagine that if I were to define an XML scheema that matched XOOPS I could use the system where my skills are greatest to manipulate the data and the system (PHP) where they are weakest to take and add...
I'm going to need some code snippits for the PHP to get me going - as I said I suck and have yet to write usefull PHP from scratch whilst ASP on the other hand...
Can you help me out in the code snippits department?