Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz
You last visited: Today at 08:32

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

Advertisement



registration script

Discussion on registration script within the Rappelz forum part of the MMORPGs category.

Reply
 
Old   #1
 
lilnani's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 597
Received Thanks: 174
registration script

hello


can any one give me a good registration script and working i try this but didnt work

PHP Code:
<?php

    $host 
"(local)\\RappelzSQL"// your sql instance
    
$user "sa"// username
    
$pw ""// password
    
$db "Auth"// db
    
$md5_key "2011"// your md5 key
    
    
$connect mssql_connect($host,$user,$pw)
    or die(
"Can't connect to the datebase.");
    
    
mssql_select_db($db,$connect)
    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>
lilnani is offline  
Old 07/25/2011, 12:51   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 81
Received Thanks: 28
ka warum du das jetzt aufmachst aber hier der link und es geht.

rattexxl is offline  
Old 07/25/2011, 12:53   #3
 
lilnani's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 597
Received Thanks: 174
i try it but didnt work
lilnani is offline  
Old 07/25/2011, 20:25   #4
 
wisp66's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 939
Received Thanks: 516
there is no simple registration script it all varies depending on set up what php version are you using? are you using xamp,wamp,iis,etc?
wisp66 is offline  
Old 07/25/2011, 20:35   #5
 
lilnani's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 597
Received Thanks: 174
i using xamp and iis and appserv nothing work
lilnani is offline  
Reply


Similar Threads Similar Threads
Secure PHP Web Registration Script
07/21/2011 - Shaiya Private Server - 2 Replies
Original Thread Link - http://www.elitepvpers.com/forum/shaiya-pserver-de velopment/886028-release-secure-php-web-registrati on-script.html Does anybody know if there is a video tutorial for this out there, and if there isn't then can somebody please post one and send me link via messaging through this website. Or post reply on this thread, i genuinely have no idea how to configure my SQL to suit the required files you need to do this. Then when you do finish it, how does it go from SQL to...
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



All times are GMT +2. The time now is 08:32.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.