Thanks for your answer pogenwurst. I'm still a bit confused though
I'm using pun_hash() to generate the password..is this what I'm doing wrong?
$new_pwd = pun_hash($form_new_pwd1);
You are not logged in. Please login or register.
PunBB Forums → Posts by mogster
Pages 1
Thanks for your answer pogenwurst. I'm still a bit confused though
I'm using pun_hash() to generate the password..is this what I'm doing wrong?
$new_pwd = pun_hash($form_new_pwd1);
after I change password (update the table) and call the pun_setcookie()-function it logs me out of the system...why is that?
$expire = ($save_pass == '1') ? time() + 31536000 : 0;
pun_setcookie($pun_user['id'], $new_pwd, $expire);
check_cookie($pun_user);
EDIT:
after I set the cookie I try to run check_cookie($pun_user); ..I guess it's where I'm getting logged out, but I can still not figure out why. Any ideas?
Pages 1
PunBB Forums → Posts by mogster
Powered by PunBB, supported by Informer Technologies, Inc.