My webserver was kinda messed up the past few days couldn't really test anything.
Sorry the original idea behind the "isemailaddress" function thing was just simply like the "antiinjection" function.
remove the
PHP Code:
if (isEmailAddress($email)==FALSE)
part and add
PHP Code:
$email = isEmailAddress($email);
so it will look like this:
PHP Code:
...
$account = antiinjection($account);
$password = antiinjection($password);
$password2 = antiinjection($password2);
$email = isEmailAddress($email);
$question1 = antiinjection($question1);
$answer1 = antiinjection($answer1);
$question2 = antiinjection($question2);
...
Or just simply download the new version.