First of all this code is vulnerable to sql injection. The other problem with your code is that you should probably do some error logging.
You might be interested in checking out our authentication software - we offer free installation and support:
demo.sitedefensor.com
sitedefensor.com
|