Page 1 of 1

Posting XML with PHP

Posted: Fri Jan 22, 2010 7:31 am
by highway7
Hi,

I am attempting to integrate my clients shopping cart with an epdq system. What I need to do is submit the customers details (name, address, card number, order etc) as XML to the epdq URL (held on another server). This then processes the data and returns a success/error message as XML, and I need to process this data to display a confirm or error message.

As I am posting to another server, I can not use javascript so need to do this in PHP. What I am unsure of is how to post the XML to the external server behind the scenes (that is, without the browser directing there).

Any and all ideas are welcome.

Thanks