Re: mysql_connect() error
> Is there a way to test that I no more allow empty password connect calls
Have the login page post to itself, and in the loop that does that processing, ensure that before any login is attempted, the length of the password string entered meets your minimum requirement, and that the password entered matches a user & password in your app's user table (NOT the mysql.user table).
and preferably one of the following ...
- Write a javascript func that's called on the onblur event of the password field
- Write an AJAX validator func that's called on the onblur event of the password field
Subject
Written By
Posted
Re: mysql_connect() error
June 10, 2014 02:52PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.