a lightweight php webservice demo