• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

how limit max numbers/letters in account ?znote register

CipsoftStinks

www.relicaria.com
Joined
Oct 1, 2016
Messages
947
Solutions
3
Reaction score
137
Location
Argentina
Hello otland

Well at the title says

is possible to limit the max letters numbers that Znote ACC allow
when you registrer your account?

regards
i used search also looked in files
and i did not found nothing
 
Solution
To only allow 8 digit number as username:
PHP:
if ((int)$_POST['username'] < 10000000 || (int)$_POST['username'] > 99999999) {
    $errors[] = 'Your account name must be an 8 digit long number.';
}
thanks to you both guys i know that
but there is a way r is not possible? limit for example the account numer max limit numbers/letters to 8?
i need it i use tibia 7.72 and the client doesn't support more than 8 letters/numbers in account name
and people never reads they say "he i can't log in its bugged"..
help
 
To only allow 8 digit number as username:
PHP:
if ((int)$_POST['username'] < 10000000 || (int)$_POST['username'] > 99999999) {
    $errors[] = 'Your account name must be an 8 digit long number.';
}
 
Solution
Back
Top