Jump to content
MakeWebGames

Recommended Posts

Posted

How do i limit the characters the username can have to 9 ?

i want people to not be able to register with a name longer then 9 and then cant change their name in the game to anything longer then 9. can someone help me?

Posted

Re: Limiting Characters in username -register,game

I thought it did.................anyway....to make it easier on you since it seems you WANT the code, and NOT to learn to use it...

 

if(strlen($_POST['newname']) > 15)
{
die("LEARN TO CODE! THOSE SITES TO EXPLAIN IT..WHERE DO YOU THINK WE LEARNED IT?");
}
Posted

Re: Limiting Characters in username -register,game

 

die("LEARN TO CODE! THOSE SITES TO EXPLAIN IT..WHERE DO YOU THINK WE LEARNED IT?");

Very well said, the explanations and demonstrations on the links i showed are very useful.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...