Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz
You last visited: Today at 02:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help Me]How to fill in the registration script.

Discussion on [Help Me]How to fill in the registration script. within the Rappelz forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 80
Received Thanks: 1
[Help Me]How to fill in the registration script.

Hi,
I took the script registration I found this forum.
I completed a number of things but I'm not sure it's good.
Here's my script :
PHP Code:
<?php 

    $host 
"(local)\SQLEXPRESS"// your sql instance 
    
$user "sa"// username 
    
$pw ""// password 
    
$db "Auth"// db 
    
$md5_key "2011"// your md5 key 
     
    
$connect mssql_connect('(local)\SQLEXPRESS','sa',''
    or die(
"Can't connect to the datebase."); 
     
    
mssql_select_db('Auth','dbo.Accounts'
    or die(
"Can't select the datebase"); 

?> 

<html> 
  <head> 
    <title>Register</title> 
    <center> 
    <h3 style="color:red">Rappelz : Register Page ( Pls insert more then 4 chars ! )</h3>  
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> 
      Username : <input type="text" size="20" name="username" /><br /> 
      Password : <input type="password" size="20" name="password" /><br /><br /> 
      <input type="submit" value="Register now !" name="senden" /> 
    </form> 
    <?php 
     
      $usr 
$_POST['username']; 
      
$pass $_POST['password']; 
      
$endPw $md5_key $pass
      
$md5 md5($endPw); 
       
      
$results mssql_query("SELECT * FROM dbo.Accounts WHERE '$usr' LIKE login_name"); 
      
$res mssql_num_rows($results); 
       
      if(
strlen($usr) > && strlen($pass) > 4
      { 
          if(
$res 0
          { 
              echo 
"Account Exists !"
          } 
          else 
          { 
              
mssql_query("INSERT INTO dbo.Accounts(login_name,password,block,withdraw_remain_time,age,auth_ok,pcbang,last_login_server_idx,event_code,result) VALUES('$usr','$md5',0,0,18,1,1,1,0,1)"); 
              echo 
"Registration Success !"
          } 
      } 
      else 
      { 
          echo 
"Username or Password to small..."
      } 
     
    
?> 
    </center> 
  </head> 
</html>
If is not good to tell me to do please
said200 is offline  
Reply


Similar Threads Similar Threads
Any Working Registration Script :)?
07/13/2011 - Rappelz - 3 Replies
Hey guys , i have use the search and find 1 registration script from stean but 1 guy posts it dont works anymore , anyone has a working registration script? and how to insert this? _________________________________________________ __________________ hey leute , ich hab die suchfunktion genutzt und hab nen registration script von stean gefunden , aber einer hat geschrieben dass es nimmer funzt , hat iwer von euch ein funktionierendes registration script? und wie fügt man das überhaupt...
Registration script
07/08/2011 - Rappelz - 5 Replies
Hi all i want to ask any guide help to make Registration page ? please help from professional In this topic thanks all :)
Looking for help: Registration Script
04/26/2011 - Shaiya Private Server - 1 Replies
We have the script we have a site but we dont know what to do with any of it. Is their anyone who can possibly do it for us?
[Help] Ep5 Registration Script
09/28/2010 - Shaiya Private Server - 0 Replies
edited
i need fill Game 2MOONS Action7 & fill Server Action7
12/16/2009 - Dekaron Private Server - 15 Replies
i need fill Game 2MOONS Action7 & fill Server Action7 don't Tellme Go in thees link Category Index - DKundergroud.org File Database not working any man help plz



All times are GMT +1. The time now is 02:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.