Results 1 to 2 of 2
  1. #1
    witawat is offline
    New member
    Join Date
    2012 Sep
    Thanked 3 Times in 3 Posts
    Rep Power

    Post PHP Script for Battle of the Immortals & SQL 2008

    Hello all

    this code for register to Battle of the Immortals

    PHP Code:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    include "MSSql.php";

    $db "PassportBOI";
    $host "IP\\SQLEXPRESS";
    $user "sa";
    $password "password";

    $cMSSql = new MSSql($db,$host,$user,$password);

    $username $_POST["username"];
    $pwd $_POST["pwd"];
    $repwd $_POST["repwd"];
    $creatime =  date("Y-m-d H:i:s");

    $username 3)
    "<script>alert('Need Username over 3 char.');history.back();</script>";
            exit() ;

    $pwd)) and ($pwd!=$repwd)) 
    "<script>alert('Password wrong.');history.back();</script>";
            exit() ;

    "<script>alert('Username have been a-z, A-Z, 0-9 only.');history.back();</script>";
            exit() ;

    //declare the SQL statement that will query the database
    $rows $cMSSql->quick_num("SELECT name FROM account WHERE name='$username'");
    $idCount $cMSSql->quick_num("SELECT name FROM account");
    "<script>alert('Username not ready.');history.back();</script>";
    $pwdx $username.$pwd;
    //$pwdx = $pwd.$pwd;
    $Salt md5($pwdx);
    $password "0x".$Salt;
    $idCount $idCount+1;

            Insert Into account
    "<script>alert('Register $username done.');history.back();</script>";


    <form action="" method="post" name ="checkForm" id="checkForm" onSubmit="return check()">
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="300" style="font-size:12px;color: #754831;">
                <td align="right" width="130" height="25">Username :&nbsp;&nbsp;</td>
                <td align="left"  width="170" height="25"><input type="text" name="username" size="15" maxlength="12" style="width: 150px; height:20px;font-size:12px;color: #754831;"></td></tr>
                <td align="right" width="130" height="25">Password :&nbsp;&nbsp;</td>
                <td align="left"  width="170" height="25"><input type="password" name="pwd" size="15" maxlength="18" style="width: 150px; height:20px;font-size:12px;color: #754831;"></td></tr>
                <td align="right" width="130" height="25">RePassword :&nbsp;&nbsp;</td>
                <td align="left"  width="170" height="25"><input type="password" name="repwd" size="15" maxlength="18" style="width: 150px; height:20px;font-size:12px;color: #754831;"></td></tr>
                <td align="right" width="130" height="30"><input type="submit" name="Submit" value="ยืนยัน" onclick="return check_register_form()">&nbsp;&nbsp;</td>
                <td align="left"  width="170" height="30">&nbsp;&nbsp;<input type="reset" name="Reset" value="ล้างค่า"></td>
    Last edited by witawat; 2012-10-27 at 04:34 AM.

  2. The Following User Says Thank You to witawat For This Useful Post:

  3. #2
    ranaza21 is offline
    New member ranaza21's Avatar
    Join Date
    2012 Oct
    Thanked 1 Time in 1 Post
    Rep Power
    Can upload the file mssql.php as your php code?

Similar Threads

  1. [Bot] Battle of the Immortals BBot
    By Dwar in forum Battle of the Immortals
    Replies: 62
    Last Post: 2013-09-28, 06:53 AM
  2. Replies: 7
    Last Post: 2013-03-28, 01:54 AM
  3. Battle of the Immortals
    By chrrox in forum Game Models and Graphic
    Replies: 5
    Last Post: 2012-07-11, 01:50 AM
  4. [Bot] Battle of the Immortals RemBOI
    By Dwar in forum Battle of the Immortals
    Replies: 5
    Last Post: 2011-06-17, 09:12 AM
  5. Battle of immortals ph bot
    By anton03 in forum Battle of the Immortals
    Replies: 0
    Last Post: 2011-03-26, 03:30 PM
Visitors found this page by searching for:

Battle of the immortals register.php

script for immortals

Source game battle of immortals

war of immortals font size

battle of immortals script

battle of the immortals registration php

battle of immortals register account mssql

Регистрация battle of the immortals mssql


battle of immortals ph script

script on immortals

sql2008 php

immortals script

Battle of the immortals MSSql.php

battle of the immortals script

battle of the immortals sqp extrqct

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts