Search found 3 matches

by tomelmore
Wed Mar 11, 2009 6:39 pm
Forum: PHP - Code
Topic: IF statement problem
Replies: 6
Views: 789

Re: IF statement problem

@tomelmore Try if(md5($password) != $userpwd) {    var_dump($userpwd);    $md5p = md5($password);    var_dump($md5p);    exit(); } and see what you actually get. I got: string(33) "5f4dcc3b5aa765d61d8327deb882cf99 " string(32) "5f4dcc3b5aa765d61d8327deb882cf99" Ok heres the rest...
by tomelmore
Wed Mar 11, 2009 3:44 pm
Forum: PHP - Code
Topic: IF statement problem
Replies: 6
Views: 789

Re: IF statement problem

Thanks omniuni, but that still hasnt solved it :(
by tomelmore
Wed Mar 11, 2009 3:07 pm
Forum: PHP - Code
Topic: IF statement problem
Replies: 6
Views: 789

IF statement problem

Hi all :) I have an IF statement that isnt working correctly (maby im just being an idiot). if(md5($password) != $userpwd) {    header("Location: preferences.php?msg=Current Password was incorrect ".md5($password)." - ".$userpwd.".");    exit(); } Both variables equal t...