Flat File Mobile Chat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Flat File Mobile Chat

    Hi.. im using a chat script by Ghost & Deviance
    can anyone please help me how do i make the letters in this script (for username & text) similar?
    i mean, ABC is the same with abc AbC aBc

    thank you

    #2
    I dnt undastand u bt if u r trying to compare usernames then use strtolower/strtoupper on both supplied username and db username.
    PHP Code:
    $_POST['uname'] = strtolower($_POST['uname']);
    $db_uname strtolower($db_uname); 

    Comment


      #3
      i mean how to make it case insensitive ;)

      Comment


        #4
        Originally posted by luvbear View Post
        i mean how to make it case insensitive ;)
        remove strtolower?

        Comment


          #5
          if its removed, then one can register nickname Bob and bob
          it will be confusing if there's two bob

          Comment


            #6
            instead what you need done detail it clearly

            strtolower(); is the method to make it case sensitive changes.

            for more see this

            Last edited by standalone; 31.10.11, 13:23.

            Comment

            Working...
            X