[Help]Register Page >.<

Results 1 to 23 of 23
  1. #1
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    [Help]Register Page >.<

    i got the old LG server files like hmmm 5-6 months ago
    and server work good and online
    i got router i opened all ports
    and Register page not work i tried so many register pages.....
    nothing not work..
    someone can give me working register page and little guide... im so angry the server took me 1-2 month
    and trying make the register page work took me 2 weeks :rip:
    so please help!!!

    *sorry on my bad english*


  2. #2
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    comeone i w8 1 day and no1 help plz its realy important

  3. #3
    Account Upgraded | Title Enabled! rodanio14 is offline
    MemberRank
    Jun 2007 Join Date
    Next to ur sister's houseLocation
    533Posts

    Re: [Help]Register Page >.<

    Do u have windows autencification ur someting if u have change it to sql server and at sql server 2005 change at remote control ur pc name and make everything online there and use at remote connection there both and go to kekku;s serverfiles and download there the tutorial.rar its a good rar there is how to make ur register page works to.

  4. #4
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    ok i will try but i thinck its not the server problem coz my server work perfect

  5. #5
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    i solve problem but now i cant put Register Page Online
    i mean its work in LocalHost
    and on my No-Ip it doesent...
    i using BR DB

    Help!! :/

  6. #6
    Account Upgraded | Title Enabled! noffa is offline
    MemberRank
    Jun 2006 Join Date
    Behind youLocation
    212Posts

    Re: [Help]Register Page >.<

    How u solved?

  7. #7
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    bump!
    plz its realy important the Register page not working with my My no-Ip only on LocalHost

  8. #8
    Account Upgraded | Title Enabled! rodanio14 is offline
    MemberRank
    Jun 2007 Join Date
    Next to ur sister's houseLocation
    533Posts

    Re: [Help]Register Page >.<

    Enable port 80 on router and if u have appserv then go to appserv folder at :c then Apache then bin then u see 2 icons open them both and run them and btw dont beg to much u alway gotta wait till u get answer not everybody gets answer directlyso next time try to wait plz and if u look all the posts u posted its amazing woahh so much doublepost actualy i gotta get infraction >/>
    Last edited by rodanio14; 29-11-07 at 12:59 PM. Reason: dont beg

  9. #9
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    i opened the port 80...
    and i use Wamp
    this post is 7 days and i didnt get answer

  10. #10
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    Re: [Help]Register Page >.<

    you got alot of them...

    look install WAMP then goto C:\wamp\www
    and make the foloders and put in what ever you where told to

  11. #11
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    i said the register work!! but on LocalHost man..
    i got problem i cant get with no-ip..

  12. #12
    Account Upgraded | Title Enabled! Kingston is offline
    MemberRank
    Jun 2007 Join Date
    601Posts

    Re: [Help]Register Page >.<

    Go To Ipchicken and See The Blue IP. and put in the ip.

  13. #13
    Account Upgraded | Title Enabled! ron1233 is offline
    MemberRank
    Nov 2007 Join Date
    275Posts

    Re: [Help]Register Page >.<

    Wamp is bad software,install Appserv is better
    and follow the video in kekku server files he explain how to make website without errors

  14. #14
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    ok i will try appserv and the movie if its work u king ^.^

  15. #15
    Account Upgraded | Title Enabled! rodanio14 is offline
    MemberRank
    Jun 2007 Join Date
    Next to ur sister's houseLocation
    533Posts

    Re: [Help]Register Page >.<

    Wamp isnt a bad software its just same only its diferent maybe if u where a program u would be bad

  16. #16
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    not work on appserv.....
    tell me all ports....

  17. #17
    Enthusiast Confused is offline
    MemberRank
    Feb 2007 Join Date
    TDOTBABY33!Location
    48Posts

    Re: [Help]Register Page >.<

    Open Apache Monitor and make sure the service is running. The only port you need to forward is 80~80.

    What I did was this:

    {Look for this line}

    $conn = mssql_connect($DBHost, $DBUser, $DBPass);
    mssql_select_db($DB);

    change [mssql to msql]

    This will show that you cannot connect, to the page at all. So..

    change [msql back to mssql]

    Your page should work again. At least, it did for me. Finally. ^^

  18. #18
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    i open apache monitor only 1 service work(wampapache)
    and i dont understand what the point to change to msql and then change back to mssql O.O

  19. #19
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    bump 4 days no answare.......
    i use wamp its good some ppls with router made it work just me didnt..
    i made the port 80....
    this is my register script
    <div align="center">
    <?PHP
    $mssql_user = "sa";
    $mssql_pass = "123456";
    $mssql_database = "GunzDB";
    $mssql_host = "MOSHE\GUNZSERV";
    $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);
    ?>
    <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']; ?>?op=register&act=register">
    <table cellspacing=0 border=0>
    <tr>
    <td colspan=2 style="border: 1px solid #003300; background: #DDDDDD;"><CENTER>
    <A HREF="<?php echo $_SERVER['PHP_SELF']; ?>">Create New Account </A>
    </CENTER></td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">&nbsp;User ID:</td>
    <td style="border-right: 1px solid #003300"><INPUT TYPE="text" NAME="login"&nbsp;></td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">&nbsp;Password:</td>
    <td style="border-right: 1px solid #003300"><INPUT TYPE="password" NAME="senha1">&nbsp;</td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">&nbsp;Retype Password:&nbsp;</td>
    <td style="border-right: 1px solid #003300"><INPUT TYPE="password" NAME="senha2">&nbsp;</td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">&nbsp;Email:</td>
    <td style="border-right: 1px solid #003300"><INPUT TYPE="text" NAME="email">&nbsp;</td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300"> Name: </td>
    <td style="border-right: 1px solid #003300"><input name="name" type="text" id="name"></td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">Age:</td>
    <td style="border-right: 1px solid #003300"><input name="age" type="text" id="age"></td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">Country:</td>
    <td style="border-right: 1px solid #003300"><select name="country">
    <option value="">Country...</option>
    <option value="IL">Israel</option>
    </select></td>
    </tr>
    <tr>
    <td style="border-left: 1px solid #003300">Sex:</td>
    <td style="border-right: 1px solid #003300"><select name="sex" id="sex">
    <option value="0">Male</option>
    <option value="1">Female</option>
    </select> </td>
    </tr>
    <tr>
    <td style="border: 1px solid #003300; border-top: 0px;" colspan=2><CENTER><INPUT NAME="Cadastrar" VALUE="Register" TYPE="submit">
    <input type="reset" name="Reset" value="Reset">
    </CENTER></td>
    </tr>
    </table>
    </FORM>
    <?php
    if ($_GET['act'] == 'register')
    {
    $user = anti_injection($_POST['login']);
    $pass1 = anti_injection($_POST['senha1']);
    $pass2 = anti_injection($_POST['senha2']);
    $email = anti_injection($_POST['email']);
    $age = anti_injection($_POST['age']);
    $country = anti_injection($_POST['country']);
    $name = anti_injection($_POST['name']);
    $sex = anti_injection($_POST['sex']);
    if (valida(Array($user,$pass1,$pass2,$email,$name,$age)) == true)
    {
    if ($pass1 == $pass2)
    {
    if (ereg("([0-9,a-z,A-Z])", $user))
    {
    if (ereg("^([0-9,a-z,A-Z]+)([.,_]([0-9,a-z,A-Z]+))*[@]([0-9,a-z,A-Z]+)([.,_,-]([0-9,a-z,A-Z]+))*[.]([0-9,a-z,A-Z]){2}([0-9,a-z,A-Z])?$", $email))
    {
    $query = mssql_query("SELECT UserID FROM Account WHERE UserID='$user'");
    $num_rows = mssql_num_rows($query);
    if ($num_rows == 0)
    {
    $query = mssql_query("SELECT * FROM Account WHERE EMail='$email'");
    $num_rows = mssql_num_rows($query);
    if ($num_rows == 0)
    {
    $query = mssql_query("DECLARE @RC int DECLARE @UserID varchar(20) DECLARE @Password varchar(20) DECLARE @Cert tinyint DECLARE @Name varchar(30) DECLARE @Age smallint DECLARE @Country char(3) DECLARE @Sex tinyint DECLARE @Email varchar(50) DECLARE @Ret int EXECUTE @RC = spWebInsertAccount @UserID = '$user' ,@Password = '$pass1' ,@Cert = '1' ,@Name = '$name' ,@Age = '$age' ,@Country = '$country' ,@Sex = '$sex' ,@Email = '$email' ,@Ret = '1'");
    if (!$query)
    {
    echo ":: Error on account register try later ::<br>";
    }
    else
    {
    echo ":: Account made succesfully ::<br>";
    }

    }
    }
    else
    {
    echo ":: Email in use ::<br>";
    }
    }
    else
    {
    echo ":: User in use ::<br>";
    }
    }
    else
    {
    echo ":: Invalid Email ::<br>";
    }
    }
    else
    {
    echo ":: Only use Numbers and Letters in User ID ::<br>";
    }
    }
    else
    {
    echo ":: Password not equal with other ::<br>";
    }
    }


    $query = mssql_query("SELECT AID FROM Account");
    $num_rows = mssql_num_rows($query);
    echo "Number Accounts: ".$num_rows."<br>";
    $query1 = mssql_query("SELECT CID From Character");
    $num_rows2 = mssql_num_rows($query1);
    echo "There are $num_rows2 characters made<br />";
    // Funo Anti Injection

    function anti_injection($sql)
    {
    $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
    $sql = trim($sql);
    $sql = strip_tags($sql);
    $sql = addslashes($sql);
    return $sql;
    }

    // Verificar Campos Vazios

    function valida($campos){
    foreach($campos as $c){
    if(empty($c)){
    echo ":: All fields needed ::<br>";
    return false;
    }else{
    return true;
    }
    }
    }
    ?>
    </div>
    Cranking.php
    <?php
    $srvip = "*my ip here*";
    $srvport = "6000";
    $mssql_user = "sa";
    $mssql_pass = "123456";
    $mssql_database = "GunzDB";
    $mssql_host = "MOSHE\GUNZSERV";
    $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);
    ?>
    <link rel="stylesheet" type="text/css" href="style.css">
    <?php
    $query = mssql_query("SELECT TOP 10 * FROM Clan order by Name Desc");


    ?>
    <style type="text/css">
    <!--
    .style28 {font-size: 10px}
    .style29 {color: #000000; font-weight: ; font-size: 10px; }
    .style1 { font-size: 10px;
    font-weight: ;
    }
    -->
    </style>
    <table width="150" border="0">
    <tr >
    <th colspan="8" scope="row"><span class="style28">Clan Rankings</span></th>
    </tr>
    <tr>
    <th width="24" scope="row"><span class="style28"><strong>#</strong></span></th>
    <td width="24"><span class="style28"><strong>Name</strong></span></td>
    <td width="23"><span class="style28"><strong>Win</strong></span></td>
    <td width="23"><span class="style28"><strong>Looses</strong></span></td>


    </tr>
    <?php
    for($i=0;$i < mssql_num_rows($query);++$i)
    {
    $row = mssql_fetch_row($query);
    $rank = $i+1;

    ?>
    <tr>
    <th scope="row"><span class="style28"><strong><?php echo "$rank";?></strong></span></th>
    <td><span class="style28"><strong><?php echo "$row[1]" ;?></strong></span></td>
    <td><span class="style28"><strong><?php echo "$row[6]";?></strong></span></td>
    <td><span class="style28"><strong><?php echo "$row[13]";?></strong></span></td>
    </tr>
    <?php }?>
    </table>
    players.php
    <?php
    $srvip = "*my ip here*";
    $srvport = "6000";
    $mssql_user = "sa";
    $mssql_pass = "123456";
    $mssql_database = "GunzDB";
    $mssql_host = "MOSHE\GUNZSERV";
    $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);
    ?>
    <link rel="stylesheet" type="text/css" href="style.css">
    <?php
    $query = mssql_query("SELECT TOP 10 * FROM Character order by xP Desc");


    ?>
    <style type="text/css">
    <!--
    .style28 {font-size: 10px}
    .style29 {color: #000000; font-weight: ; font-size: 10px; }
    .style1 { font-size: 10px;
    font-weight: ;
    }
    -->
    </style>
    <table width="250" border="0">
    <tr >
    <th colspan="0" scope="row"><span class="style28">Top Player List </span></th>
    </tr>
    <tr>
    <th width="24" scope="row"><span class="style28"><strong>#</strong></span></th>
    <td width="24"><span class="style28"><strong>Name</strong></span></td>
    <td width="23"><span class="style28"><strong>Level</strong></span></td>

    </tr>
    <?php
    for($i=0;$i < mssql_num_rows($query);++$i)
    {
    $row = mssql_fetch_row($query);
    $rank = $i+1;

    ?>
    <tr>
    <th scope="row"><span class="style28"><strong><?php echo "$rank";?></strong></span></th>
    <td><span class="style28"><strong><?php echo "$row[2]" ;?></strong></span></td>
    <td><span class="style28"><strong><?php echo "$row[3]";?></strong></span></td>
    </tr>
    <?php }?>
    </table>

  20. #20
    Account Upgraded | Title Enabled! sexy fire slash is offline
    MemberRank
    Oct 2007 Join Date
    Canada B.C. Currently A Developer.Location
    553Posts

    Re: [Help]Register Page >.<

    use kekkus server files.

  21. #21
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    im using kekku server files ......
    even now it doesnt work

  22. #22
    Account Upgraded | Title Enabled! sexy fire slash is offline
    MemberRank
    Oct 2007 Join Date
    Canada B.C. Currently A Developer.Location
    553Posts

    Re: [Help]Register Page >.<

    dude go to whatismyip.com and looka t ure ip port forward turn on monitor of apache then use the ip it gave you.

  23. #23
    Member moshons is offline
    MemberRank
    Nov 2006 Join Date
    79Posts

    Re: [Help]Register Page >.<

    omg.... u cant understand it doesnt work with this ip?
    and btw can someone give me good kekku register page (not the sux 1)

    and help me



Advertisement