Can you help me about it?

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

    #16
    manavworld, i think this will help you:
    - - -
    $checkit = substr(trim($name),0,6);
    if ($checkit == "google")
    {
    echo "name not allowed";
    exit();
    }
    - - -
    now every name like google.com, google.com1, etc, but that starts with "google"... is going to not be allowed.
    mysterio.al - programming is a functional art

    Comment


      #17
      better use substr_count()

      Comment


        #18
        Originally posted by strikingv View Post
        better use substr_count()
        give an example
        mysterio.al - programming is a functional art

        Comment

        Working...
        X