PHP-XML Connect

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jackson Peebles

    PHP-XML Connect

    I'm a beginner with XML but have a fair amount of PHP experience (I'm
    certainly not an expert, though). I'm looking to connect a PHP
    document to an XML API on a separate server. More specifically, the
    FreedomSpeaks API located at http://api.freedomspeaks.com/v1/tests/default.aspx.

    All I need is some very basic help on how I'm supposed to send data
    (ie. a user ID number) and receive a response. I know this is
    probably below a lot of you, but if somebody would be kind enough to
    help me out, I'd really appreciate it.
  • AeonOfTime

    #2
    Re: PHP-XML Connect

    On Aug 12, 5:30 am, Jackson Peebles <jacksonpeeb... @gmail.comwrote :
    I'm a beginner with XML but have a fair amount of PHP experience (I'm
    certainly not an expert, though).  I'm looking to connect a PHP
    document to an XML API on a separate server.  More specifically, the
    FreedomSpeaks API located athttp://api.freedomspea ks.com/v1/tests/default..aspx.
    >
    All I need is some very basic help on how I'm supposed to send data
    (ie. a user ID number) and receive a response.  I know this is
    probably below a lot of you, but if somebody would be kind enough to
    help me out, I'd really appreciate it.
    Hi Jackson, do they have some kind of documentation on the site that
    says what protocol to use for their API? Usually webservices like this
    work via XML-RPC / SOAP and co. If you take a look at PEAR, http://pear.php..net
    you will find libraries for each protocol (try searching for XML-RPC
    there) that make the communication pretty easy. But some user guide is
    usually still necessary to know what data the available functions will
    give you, and what parameters they need.

    Comment

    Working...