iOS and Android webserices using php sample