On Fri, 02 Jul 2004 12:40:56 -0400, Shaun Fanning
<[EMAIL PROTECTED]> wrote:
> 
> I need to interface with a partner's XML API and they require that the XML
> request be sent via HTTPS POST. I also need to parse the XML response that
> the partner's server will send back. Is CURL the best way to handle the
> transfer or something like PEAR HTTP_Request? I'm looking for the approach
> that will be the most reliable under heavy load. Thanks for any advice.
> 

I'm not sure about load, but I've had great success with HTTP_Request
and HTTP_Client. I'v even submitted a bunch of patches to them to fix
bugs. :-) They're very flexible, can do just about anything, and are
very simple to use.

As for parsing XML, I've created a simple extention of XML_Parser that
parses the XML into a (useful!) associative array. It's large if you
print_r it, but it gives you *all* of the data and lets you choose
exactly what you want.

http://www.reversefold.com/PEAR/Assoc.phps

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to