www.webdeveloper.com
Results 1 to 2 of 2

Thread: PHP and Webservicesx

  1. #1
    Join Date
    Sep 2008
    Posts
    206

    PHP and Webservicesx

    1) Check the below website http://www.webservicex.net
    2) What I need is to know how php can address a webservice and get information from xml files.
    3) You can try currency converter webservice, or weather, or country codes.

    “how to use php and XML in order to talk to webservices and get results.”

    In other words, I want a php file that sends for example two variables (e.g. USD, EGP) to the xml webservice, and you get in a the next php file the results 5.514
    Check the demo in this page, scroll down till you see the two fields http://www.webservicex.net/WCF/Servi...ls.aspx?SID=18

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,225
    cURL to send/receive data, and either SimpleXML or DOM to handle the XML.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles