|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
secure md5 authentication with mysql
I have added users into my mysql database using
$password = "mypassword"; $secure_password = md5($password); mysql_connect(etc...etc...) INSERT INTO dbname etc... Anyway, that all works fine, but no I want to authenticate users securely using my login page. My fields are user_name & user_pass. I have connected to my database but can't authenticate users correctly. I have tried... $access_password = md5($user_pass); if($user_pass == "username" && $access_password == "password"); but to no avail! Suggestions and help appreciated Thanks |
|
#2
|
|||||
|
|||||
|
RE: secure md5 authentication with mysql
Try to get the line according to user/password using something like:
php Code:
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > secure md5 authentication with mysql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|