in reply to Re: DBI & MySQL Login Test
in thread DBI & MySQL Login Test
Hello Sewi,
Your code example of preventing SQL injection is cool.
On my website, I want to allow users to login, but prevent any hackers from getting my subscribers usernames and passwords.
I don't have a need to print out the username and password.
They must remain hidden out of sight.
As I understand it, in your SQL example you're letting SQL validate for user input. Is that correct?
Can you elaborate on the error checking? I would like to check if a user enters the form with incorrect data.
How do you print an error message?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI & MySQL Login Test
by Sewi (Friar) on Aug 26, 2009 at 12:37 UTC |