Can you please provide me with a PHP code sample of a Web Service that accepts a user login and password as input parameters and returns a boolean yes or no depending if the login exists or not. The web services can "fake" the existence of the database look-up to keep matters simple.
Please provide sample code of how the result of the web service would cause one page or another of a web site to display based on the success or failure of the login.
We want to use the web service to allow a new database to work with an existing web site. Presumably the part of the web-site that logs in the user currently can check with the web service and the database technology and programming language won't be an issue. We aren't trying to share this with the world, so we don't need WSDL or UDDI. We just need PHP web-service interfaces to a MYSQL database that can be utilized by a web site to selectively display different pages based on the return results of the web-service.
The Id and Password will be provided on a HTML form by a user of the web site.
Also, please advise us on obvious security steps that should be taken in the use of such a web service.