+1 for REST, rather than sending status: "OK" as part of your response content, I prefer to go the REST way and use HTTP response codes for return codes, and HTTP request method types for the type of action.
For example: HTTP POST: To create resources on the server HTTP PUT: To change a resource on the server HTTP DELETE: Delete a resource HTTP GET: To retrieve a resource -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
