Die Prüfroutine akzeptiert auch Buchstaben in dem eingegebenen String, wenn die Prüfsummenberechnung richtig ist.
Logged In: NO
function check($text) {
for ($i = 0; $i < strlen($text); $i++) {
if (!ereg("[0-9Dd]", $text[$i])) { return 1; } } }
Damit sollte dieser bug behoben sein ;)
Ursprungsfunktion function check($text) {
if (!ereg("[A-Za-z0-9]", $text[$i])) { return 1; } } }
MfG
Sebastian S.
Logged In: YES user_id=137143
This bug is fixed in the new IR version. Only numbers will be accepted now.
Log in to post a comment.
Logged In: NO
function check($text) {
for ($i = 0; $i < strlen($text); $i++) {
if (!ereg("[0-9Dd]", $text[$i])) {
return 1;
}
}
}
Damit sollte dieser bug behoben sein ;)
Ursprungsfunktion
function check($text) {
for ($i = 0; $i < strlen($text); $i++) {
if (!ereg("[A-Za-z0-9]", $text[$i])) {
return 1;
}
}
}
MfG
Sebastian S.
Logged In: YES
user_id=137143
This bug is fixed in the new IR version. Only numbers will be accepted
now.