Nicknames Characters

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Nicknames Characters

    Code:
    Allowed characters in userid and password are a-z, 0-9, and -_ only
    how I can use all characters at nicknames???
    I use lavalair wml version.


    tnks at advance
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    Code:
    function scharin($word)
    
    {
    
      $chars = "abcdefghijklmnopqrstuvwxyz0123456789-_";
    
      for($i=0;$i<strlen($word);$i++)
    
      {
    
        $ch = substr($word,$i,1);
    
      $nol = substr_count($chars,$ch);
    
      if($nol==0)
    
      {
    
        return true;
    
      }
    
      }
    
      return false;
    
    }
    edit that function

    Comment

    Working...
    X