View Single Post
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 11-08-2011 , 03:17   Re: Register System V1.0 BETA by m0skVi4a ;]
Reply With Quote #29

1) instead of storing username and password, you should store username and hash
PHP Code:
#define SALT "23kln50h2nasfjn0gn3021rnklsdfi9rhfwdf" //this is some random string, every server should edit it and use their own
new cache[512]
formatex(cachesizeof(cache)-1"%s%s%s"usernamepassword,  SALT)
new 
hash[34]
md5(cachehash
2) convert it to sql
__________________
Impossible is Nothing
Sylwester is offline