a gentle nudge



All,

I volunteered for a church project whereby I need my PHP page to send off a HTTP request to third party web site that provides a service. That service sends back a small XML file of information. My PHP page should capture that response, parse the XML, and display the information received.

I spent probably hours looking through the function list and still have not determined which package does what I need. There's the http package that seems like is what I need for my page to send out the request, but there are no examples and very little documentation on using these tools (on php.net)...

Then, how do I capture the data stream sent back from that remote website? Is that part of the http package, too, or do I need something else?

I'm confident I can use domxml_xmltree() to parse the string I get back into something more useable...

I probably don't need a dissertation on how to do it, but just a gentle nudge to point me to the basic packages I need to dig into more deeply. But if you want to send a dissertation, I'd be delighted at what I could learn!

Mark
.



Relevant Pages

  • Re: a gentle nudge
    ... I volunteered for a church project whereby I need my PHP page to send ... off a HTTP request to third party web site that provides a service. ... Is that part of the http package, too, or do I need something ...
    (comp.lang.php)
  • RE: OT - But cant find an answer: DOM/XML
    ... PHP Version 4.3.6 ... Directive Local Value Master Value ... HTTP Headers Information ... Active Persistent Links 0 ...
    (Fedora)
  • Re: undefined function error if I use a fully-qualifed include
    ... >>obtains filename.php by performing an HTTP request to the specified ... which specifies "Go and get this resource using the HTTP protocol". ... PHP doesn't ... off to Apache to satisfy. ...
    (comp.lang.php)
  • WhiteHat Arsenal 1.06 Beta Released
    ... fitted with an HTTP Response Code lookup utility. ... WHArsenal the best web application security product available. ... WhiteHat Arsenal logs all HTTP Request activities in either XML or HTML ... The Session Manager keeps log files ...
    (SecProg)
  • [Full-disclosure] PHP 5.2.9 curl safe_mode & open_basedir bypass
    ... PHP is an HTML-embedded scripting language. ... supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this ...
    (Full-Disclosure)