View Single Post
  #13  
Old 16th August 2011, 17:42
new new is offline
Junior Member
 
Join Date: Aug 2011
Posts: 4
Thanks: 4
Thanked 0 Times in 0 Posts
Thumbs up

@Falko and @Mark_NL .... thanks guys...
Quote:
@Mark_NL .........
for his solution he should use:
Code:
INSERT INTO users(..., password) VALUES('...', ENCRYPT(".$_POST['password'].", 'odufmsircklsc'));
("odufmsircklsc" being the salt)
You are the man.. works perfect .. I do have not words to thanks you...that was exactly what I was looking for.... now I can authenticate users from the same database for mail and ftp, with the same ENCRYPT password..

Just curious .. ... what character users are allow to use in password field of my registration from... because ... ("odufmsircklsc" being the salt) ... or don't matter ???

Regards.. you all ..!!
Really thanks...

Last edited by new; 16th August 2011 at 17:59.
Reply With Quote