Quote:
$md5pass = md5($_POST['Pword']);
$_SESSION['Uname'] = $md5pass ($_POST['Uname']);
|
What are you trying to do there? ... I might be missing something here,
but that doesnt look right to me.
you set $md5pass to $_POST['pword']
and then you try to use $md5pass(); ......
Are you trying to make the session == to the md5 hash of the password?
if so, all you need is:
- Code: Select all
$md5pass = md5($_POST['Pword']);
$_SESSION['Uname'] = $md5pass;