13.09.2012, 07:18
hey,
thx, it now works right without the md5 tag. It was dump to doublemd5 the password xD
Yeah but if i use a salt fo my md5 than its safer right? ^^
If i will use your code:
how i must chek it right in my case DIALOG_LOGIN:
can u give me a simple way
thx, it now works right without the md5 tag. It was dump to doublemd5 the password xD
Yeah but if i use a salt fo my md5 than its safer right? ^^
If i will use your code:
Код:
stock mysql_ReturnPasswort(Name[], password[]) //Put inputtext as password { new query[130]; mysql_real_escape_string(Name, Name); format(query, 128, "SELECT Password FROM `Accounts` WHERE `Name` = '%s' AND Password = MD5('%s')", Name, password); mysql_query(query); mysql_store_result(); new return = mysql_num_rows(); mysql_free_result(); if(return != 0) return 1; return 0; }
can u give me a simple way