468,247 Members | 1,335 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,247 developers. It's quick & easy.

Load XML to MySQL

Hello,

I am trying to post xml data into a MySQL database and I'm stuck on what to
do on the web site. The xml is built using a ado recordset on an Access
database and then I'm using xmlHTTPPost(strPostToURL, strXML). However, I
don't know how to write the php program to process the xml so that it loads
the data into a MySQL database. Could anyone supply me with some sample
code to do this? I've searched high and low but I've not been successful in
coming up with anything.

Thanks very much,

Vic

Jul 17 '05 #1
1 2746
Vic Spainhower <vi*@showsec.com> wrote:
I am trying to post xml data into a MySQL database and I'm stuck on what to
do on the web site. The xml is built using a ado recordset on an Access
database and then I'm using xmlHTTPPost(strPostToURL, strXML). However, I
don't know how to write the php program to process the xml so that it loads
the data into a MySQL database. Could anyone supply me with some sample
code to do this? I've searched high and low but I've not been successful in
coming up with anything.


You'll need to get the _raw post data_

See the ini:
; Always populate the $HTTP_RAW_POST_DATA variable.
;always_populate_raw_post_data = On

That should help ypu get the values.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Pieter Van Waeyenberge | last post: by
14 posts views Thread by Bruce A. Julseth | last post: by
reply views Thread by Michael Weiner | last post: by
reply views Thread by Clive Page | last post: by
reply views Thread by Donald Tyler | last post: by
1 post views Thread by edfialk | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.