Forum Moderators: open

Message Too Old, No Replies

Data sharing via XML

Data sharing with XML

         

veryconfused1978

9:54 pm on Mar 16, 2006 (gmt 0)



Hi All;

I am new to this xml business but I have managed to create an xml file from the mysql database for every entry. All I am wondering if you can help me to show these results in another HTML website.

In other words I would like to use the same data source under two different looking websites. I have seen exapmles of this but cannot figure out how to manage.

Thanks

macrost

11:30 pm on Mar 22, 2006 (gmt 0)

10+ Year Member



Well I am not versed that well in PHP but what you would have to do on the other site is to send an HTTP request to your first site, then on the first site, you will generate the xml, your second site will then receive the response, and then parse out that xml result set. The second site will have to use something like cURL or a module like that to send the HTTP requests.
Hope this gets you started!