A sample web service script written in php