same email cant register (ibwf)

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

    #16
    ok the topic has been deleted lol however i did find it in googles cache

    PHP Code:
    case 16//what ever is number
            
    $errl "<img src=\"../images/point.gif\" alt=\"!\"/> Email Already in use";
            
    $ue "<img src=\"../images/point.gif\" alt=\"!\"/>";
            break; 
    PHP Code:
    $emailcheck mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE name='".$email."'"));


    //then a bit thurther down

    }else if($emailcheck[0]>0){
    echo 
    registerform(16);//what ever number is 

    Comment


      #17
      Originally posted by something else View Post
      ok the topic has been deleted lol however i did find it in googles cache

      PHP Code:
      case 16//what ever is number
              
      $errl "<img src=\"../images/point.gif\" alt=\"!\"/> Email Already in use";
              
      $ue "<img src=\"../images/point.gif\" alt=\"!\"/>";
              break; 
      PHP Code:
      $emailcheck mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE name='".$email."'"));


      //then a bit thurther down

      }else if($emailcheck[0]>0){
      echo 
      registerform(16);//what ever number is 
      it still registering same email, guess query wrong?

      Originally posted by something else View Post
      ok the topic has been deleted lol however i did find it in googles cache

      PHP Code:
      case 16//what ever is number
              
      $errl "<img src=\"../images/point.gif\" alt=\"!\"/> Email Already in use";
              
      $ue "<img src=\"../images/point.gif\" alt=\"!\"/>";
              break; 
      PHP Code:
      $emailcheck mysql_fetch_array(mysql_query("SELECT id FROM ibwf_users WHERE name='".$email."'"));


      //then a bit thurther down

      }else if($emailcheck[0]>0){
      echo 
      registerform(16);//what ever number is 
      it still registering same email, guess query wrong?

      Comment


        #18
        still it register whats wrong here

        $emailcheck = mysql_fetch_array(mysql_query("SELECT * FROM ibwf_users WHERE email='".$email."'"));
        }else if($emailcheck[0]>0){
        echo registerform(15);
        }else if(register($uid,$pwd,$usx,$bdy,$ulc,$email, $ubr)==1)
        {
        echo registerform(9);
        }else if(register($uid,$pwd,$usx,$bdy,$ulc,$email, $ubr)==2)
        {

        Comment


          #19
          Bro, Just Upload your register form and we will make it for you....:S :S

          Comment


            #20
            here bro

            Code:
            echo "</head>\n";
            echo "<body>\n";
            echo "<center>";
            $uid = $_POST["uid"];
            $pwd = $_POST["pwd"];
            $cpw = $_POST["cpw"];
            $usex = $_POST["usex"];
            $uloc = $_POST["uloc"];
            $bday = $_POST["bday"];
            $email = $_POST["email"];
            connectdb();
            $brws = explode(" ",$_SERVER[HTTP_USER_AGENT] );
            $ubr = $brws[0];
            $ipr = getip();
            $uip = explode(".",$ipr);
            
            echo "<h3 align=\"center\">Fill The Form</h3>\n";
            
            $ipr = getip();
            $uip = explode(".",$ipr);
            
            if((!canreg())||(isipbanned($ipr,$ubr)))
            {
                echo "<p>";
                echo "<img src=\"../images/notok.gif\" border=\"0\" alt=\"X\"/>Registration is closed at the moment";
                echo "</p>";
            }else{
            echo "<p>";
            ?>
            
            <?php
            $tolog = false;
            if(trim($uid)=="")
            {
            echo registerform(1);
            }else if(trim($pwd)=="")
            {
            echo registerform(2);
            }else if(trim($cpw)=="")
            {
            echo registerform(3);
            }else if(spacesin($uid)||scharin($uid))
            {
            echo registerform(4);
            }else if(spacesin($pwd)||scharin($pwd))
            {
            echo registerform(5);
            }else if($pwd!=$cpw)
            {
            echo registerform(6);
            }else if(strlen($uid)<4)
            {
            echo registerform(7);
            }else if(strlen($pwd)<4)
            {
            echo registerform(8);
            }else if(isdigitf($uid))
            {
            echo registerform(11);
            }else if(checknick($uid)==1)
            {
            echo registerform(12);
            
            }else if(checknick($uid)==2)
            {
            echo registerform(13);
            }else if($email=="")
            {
                echo registerform(14);
            
            }else if(register($uid,$pwd,$usx,$bdy,$ulc,$email, $ubr)==1)
            {
            echo registerform(9);
            }else if(register($uid,$pwd,$usx,$bdy,$ulc,$email, $ubr)==2)
            {
            echo registerform(10);
            }else{
            
            echo "Registration completed successfully!<br/>";
            $tolog = true;
            }
            echo "</p>";
            }
            echo "<p align=\"center\">";
            if($tolog)
            {

            Comment


              #21
              thanks it works :-)
              Last edited by i_love_php_mysql; 18.09.10, 08:30.

              Comment


                #22
                @ilovemysql .pls use mysql_real_escape string in ur every Get and Post field . .happy scripting :-)

                Comment


                  #23
                  thanks bro im using it almost in every required places :-)

                  Comment

                  Working...
                  X