Forum Moderators: coopster

Message Too Old, No Replies

How to register different characters?

         

240sx

6:17 pm on Apr 6, 2009 (gmt 0)

10+ Year Member



Alright I keep getting this contain a-Z and 0-9. is there away to get around this ? register a name in a different language different letters? Username can only be 15 characters or less and must be atleast 3 characters

venelin13

7:46 pm on Apr 7, 2009 (gmt 0)

10+ Year Member



Yes, of course you can use different characters. I wanted to show you an example with the Cyrillic alphabet, but it seems the form transform them into the HTML entities.

In this range:

[a-z]

substitute the "a" with the first letter of your alphabet and "z" with the last letter of your alphabet. It works just perfect with the Cyrillic characters. PHP is able to understood this is a range of characters.

240sx

7:05 am on Apr 8, 2009 (gmt 0)

10+ Year Member



Username can only be 15 characters or less and must be atleast 3 characters. I am not the webmaster im just a user who wants to register with different characters other than english letters so I dont have access to data base.

d40sithui

2:20 pm on Apr 8, 2009 (gmt 0)

10+ Year Member



Are you saying you want to signup for an account on a website, but you want a way to go around the username restrictions?

240sx

10:59 pm on Apr 8, 2009 (gmt 0)

10+ Year Member



Yes thats what I want to do.

d40sithui

5:13 pm on Apr 9, 2009 (gmt 0)

10+ Year Member



If the regex is strictly [a-zA-Z0-9], there's nothing you can do. If PHP finds an outside character from the acceptable range, it won't let you continue. If you want characters like "ко" or something alike, it's not in the valid regex pattern so you cannot use them.