Goofy12
12-08-2007, 09:30 AM
Hey I made a script to check the username + password
most important line is:
$result = mysql_fetch_array( mysql_query("SELECT * FROM `vb_user` WHERE username='$name' AND password='$pass'",$db) );
but there is one problem, if I check:
user:Username
pass:password
it will work
user:username
pass:password
it wont work.
it depends on how the user registered... if he registered with a uppercase it wont work if i check with lowercase, and if he registered with a lowercase it wont work if I check with uppercase.
most important line is:
$result = mysql_fetch_array( mysql_query("SELECT * FROM `vb_user` WHERE username='$name' AND password='$pass'",$db) );
but there is one problem, if I check:
user:Username
pass:password
it will work
user:username
pass:password
it wont work.
it depends on how the user registered... if he registered with a uppercase it wont work if i check with lowercase, and if he registered with a lowercase it wont work if I check with uppercase.