Handle remote data with PHP 5 and REST Web service
This Representational State Transfer (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.
- Visit Site:
- Handle remote data with PHP 5 and REST Web service
- Version:
- fp_websrest_sm_02
- Filed in:
-
PHP / Scripts & Programs / XML & PHP
- Platforms:
-
- Databases:
-
- Date Added:
- Feb 16, 2009
- Last Updated:
- Jun 20, 2009
License and Pricing Information
Freeware
Price: $0.00 USD
| Publisher site visits: | 546 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
- Claudio Biesele
Other listings by this publisher
- PHP calendar with AJAX driven agenda
- Breadcrumbs navigation with PHP 5, SimpleXML, XPath and class
- Menu Handling Class with SimpleXML and PHP
- Advanced Form Handling with PHP
- Combine XML, Files and SQLite with PHP 5
- Web safety with AJAX and PHP 5
- PHP Basket Class with OOP
- PHP Multipurpose Forms with data binding and cross table
- Small Reservation CMS with setup file for easy installation
