10.06.2012, 00:33
Hola quisiera hacer que este stock no tenga validez y devuelva lo mismo....
Stock
Cuando se ingresa por ejemplo esto
O sino alguna manera de desvincular ese udb, por ejemplo que quede
nose como hacer, me ayudan?
Stock
Код:
stock udb_hash(buf[])
{
new length=strlen(buf);
new s1 = 1;
new s2 = 0;
new n;
for (n=0; n<length; n++)
{
s1 = (s1 + buf[n]) % 65521;
s2 = (s2 + s1) % 65521;
}
return (s2 << 16) + s1;
}
Код:
INI_WriteInt(File,"Password",udb_hash(inputtext));
Код:
INI_WriteInt(File,"Password",inputtext);


