29.08.2009, 10:49
This code allows only numeric passwords... if you need Alphabetical, then you need encrypt and, I hope all other is ok, and then you need to not compare sizes(strval(params) == strval(pass)), but strcmp(params,pass) something like that, only if you use encrypt, then before this check you need to encrypt params now (pass got from file should be encrypted already!)