Handle remote data with PHP 5 and REST Web service fp_websrest_sm_02

Handle remote data with PHP 5 and REST Web service is made of three main parts: the login part, the xml part and the data part.

The first part concerns about the validation of the user data: username, password, account id and IP address, which are all transferred and returned by the function file_get_contents(): It is supported by the function stream_context_create() which takes care of how the request will be made (for safety reasons POST).

The second part (xml part) offers a HTTP-connection to an xml file with internal DTD on a remote server which is client side processed by SimpleXMLElement (from the PHP 5 SPL) for presentation and offers the complete CRUD handling (create, retrieve, update, delete) done by the DOM XML extension on the server side (if xml file is read- and writable!).

The third part is simple database handling: with MySqli.

License type: Freeware
Date added: 6 years, 9 months 19 days ago | Last updated: 6 years, 9 months 19 days ago

More popular XML

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

  • courses.dtd
  • 125 Bytes
  • 04/25/2008 11:04:52
Hot Scripts