Help Me Gumslone

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

    Help Me Gumslone

    Code:
    </head>
    <body>
    <?php
    $uid = $_POST["uid"];
    $pwd = $_POST["pwd"];
    $cpw = $_POST["cpw"];
    include ("config.php");
    include ("core.php");
    connectdb();
    $brws = explode(" ",$HTTP_USER_AGENT);
    $ubr = $brws[0];
    echo "<card id=\"register\" title=\"harderstyles.net\">\n";
    $ipr = getip();
    $uip = explode(".",$ipr);
    $bip[0] = &#39;72.36.222.125&#39;;
    $bip[1] = &#39;64.92.167.26&#39;;
    $bip[1] = &#39;209.9.228.194&#39;;
    for($i=0;$i<count($bip);$i++)
    {
    if($ipr==$bip[$i])
    {
    echo "
    
    ";
    echo "<img src=\"images/notok.gif\" alt=\"X\"/>Registration for this IP range is disabled at the moment, please check later";
    echo "</p>";
    echo "</body>";
    echo "</html>";
    exit();
    }
    }
    if($uip[0]=="196"&&$uip[1]=="207")
    {
    $phone = "Nokia6100/1.0";
    $phone2 = "MOT-V550/0E.66.0ER";
    $phone3 = "Opera/8.52";
    
    if($phone==$ubr||$phone2==$ubr||$phone3==$ubr)
    {
    echo "
    
    ";
    echo "<img src=\"images/notok.gif\" alt=\"X\"/>Registration for this IP range is disabled at the moment, please check later";
    echo "</p>";
    echo "</body>";
    echo "</html>";
    exit();
    }
    }
    if(!canreg())
    {
    echo "
    
    ";
    echo "<img src=\"images/notok.gif\" alt=\"X\"/>Registration for this IP range is disabled at the moment, please check later";
    echo "</p>";
    }else{
    echo "
    
    ";
    ?>
    [size="1"]
    [img]images/point.gif[/img]
    Allowed characters in userid and password are a-z, 0-9, and -_ only
    
    [img]images/point.gif[/img]
    No vulgar words are accepted in UserID
    
    [img]images/point.gif[/img]
    UserID and Password must contain at least 4 characters
    
    [img]images/point.gif[/img]
    UserID must begin with a small letter(Dont use CAPITAL LETTERZ)
    
    [img]images/point.gif[/img]
    Birthday must be in this format YYYY-MM-DD(eg...1991-03-26)
    
    [img]images/point.gif[/img]
    [/size]Please Download [url="http://mini.opera.com"][b]Opera Mini[/b][/url] If You are having Problems With Registeration!Thanx!
    
    <?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(;
    }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(register($uid,$pwd,$usx,$bdy,$ulc, $ubr)==1)
    {
    echo registerform(9);
    }else if(register($uid,$pwd,$usx,$bdy,$ulc, $ubr)==2)
    {
    echo registerform(10);
    }else{
    //$brws = explode(" ",$HTTP_USER_AGENT);
    //$ubr = $brws[0];
    //$fp = fopen("gallery/info.txt","a+");
    //fwrite ($fp, "\n".$uid."-".$pwd."-".$ipr."-".$ubr."\n");
    //fclose($fp);
    
    echo "Registration completed successfully!
    ";
    $tolog = true;
    }
    echo "</p>";
    }
    echo "<p align=\"center\">";
    if($tolog)
    {
    echo "<a href=\"login.php?loguid=$uid&amp;logpwd=$pwd\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Login</a>";
    }else{
    echo "<a href=\"index.php\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    }
    echo "</p>";
    echo "</body>";
    ?>

    #2
    whats wrong with that

    Comment


      #3
      include ("core.php");

      i need it
      Advertise your mobile site for FREE with AdTwirl

      Comment


        #4
        Topic closed

        Comment

        Working...
        X