Web Programming Step By Step, 2nd Edition Lecture 24
As an iPhone/iPad developer, it may be really useful to have the ability to write your own simple web services that combine together with your apps. It is necessary for the online server account (httpd) to have read access to the directory (as was the case for PHP 4 scripts, and for static HTML pages and magnificence sheets, etc), but httpd doesn’t need any access to the PHP 5 script itself.
To avoid this behaviour, it is when you should utilize the web services, items of code to work with out restrictions of domains and dealing with out restrictions of the language you utilize in the frontend or within the backend. Since our Web service is so simple we can be instantly inspecting the contract and coding the shopper without any specific tools. If we try to entry the action by URL ?r=inventory/quote, we will see loads of XML content … Read More