21.02.2012, 14:59
Nice! I have a few questions though.
How exactly would you create a registration filterscript with this? - and would it not be a bit inefficient?
The only possible way I see, is that you hash the given password, from let's say a dialog, using Hash(MD5, x,inputtext). And then, you assign a variable to the playerid, who just submitted the text.
Next, you want to loop through all the players online, to find out who exactly submitted the code, and after that, amend the hashed password to his file/file-on-database.
Furthermore, how do you read the password with this include?
Wouldn't you be forced to use MySQL's ability to read hashes?
If so, wouldn't it be a lot easier to simply use the MD5 hasher that comes with MySQL. Or ******'s whirlpool plugin?
Regards,
shitbird.
How exactly would you create a registration filterscript with this? - and would it not be a bit inefficient?
The only possible way I see, is that you hash the given password, from let's say a dialog, using Hash(MD5, x,inputtext). And then, you assign a variable to the playerid, who just submitted the text.
Next, you want to loop through all the players online, to find out who exactly submitted the code, and after that, amend the hashed password to his file/file-on-database.
Furthermore, how do you read the password with this include?
Wouldn't you be forced to use MySQL's ability to read hashes?
If so, wouldn't it be a lot easier to simply use the MD5 hasher that comes with MySQL. Or ******'s whirlpool plugin?
Regards,
shitbird.