Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 20:24

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

Advertisement



[HELP] Registration Script 8.1

Discussion on [HELP] Registration Script 8.1 within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2013
Posts: 5
Received Thanks: 0
Question [HELP] Registration Script 8.1

Hello,

I would like to have a script for the registration of players Rappelz Server 8.1
That's 4 days I research and test different script elitepvpers but without success.

Someone can help me to create a very basic script with Wamp to not always create myself through sql server.

This script not working
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) > 4 && 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>
Preferably without ISS or ASP because all the ones I tested were unsuccessful.

Thank you in advance
admin2rien is offline  
Old 12/18/2013, 13:06   #2
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,779
Received Thanks: 1,461
The ISS ASP script in the tools and guides collection at the top of the page works fine for me, no issues.

If that one does not work for you ismokedrow has a PHP one linked in their signature...



Good Luck and please use the help thread to post questions...

ThunderNikk is offline  
Old 12/18/2013, 16:25   #3
 
elite*gold: 0
Join Date: Dec 2013
Posts: 5
Received Thanks: 0
Question

Quote:
Originally Posted by thndr View Post
The ISS ASP script in the tools and guides collection at the top of the page works fine for me, no issues.

If that one does not work for you ismokedrow has a PHP one linked in their signature...



Good Luck and please use the help thread to post questions...

Thank you for your help Thndr but this script has already been tried before to create my help topic.

I followed the tutorial and I install:

- PHP 3.0 + Driver (SQLSRV)
- Webmatrix

Configure vu.php, config.php, register.php



Are what I'm still missing something or a step that I have not done?
Someone will have a solution for me so I can try please? Thank you in advance
admin2rien is offline  
Old 12/18/2013, 21:37   #4
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,555
Received Thanks: 2,458
It is saying that SQLSRV_ is not enabled, you must have PHP 5.3+ installed and the appropriate PHP Driver 3.0 installed (there are different versions of Microsoft PHP Drive per version of PHP) So make sure to get the version appropriate to your PHP install.
ismokedrow is offline  
Reply

« 6.1 | 5.2 server »

Similar Threads Similar Threads
Registration Script :)
11/17/2012 - Rappelz Private Server - 0 Replies
Hi everyone: D So here is my problem, I found several scripts for online registration of a member. But most work with mssql while I preferred sql_srv (of which I am not able to run the same functions mssql php ini changing etc. ..). I found a script but the link to it is dead: ( I come to you "xD pleading" help me or share your own if you have;) ps: I'm french, I can make some mistakes in English x)
Registration Script php
09/15/2012 - Shaiya Private Server - 6 Replies
Hello! I find a tutorial for all, and the rest looks easy enough to do Alone, But, one thing i've not still been able to do... The reg script. Yeah my server is just a test server and we are just a few but a few more people are coming and i'd like to have a reg page. I found the files i need i installed XAMPP too but i really don't understand how to make this Reg script work.I uploaded it on website too but notthing. So..This time i'm sure i looked well on here and there's nor a tutorial...
BK-Registration(Script....)
10/18/2011 - General Gaming Discussion - 4 Replies
Hallo, fast alle verwenden Scripts, oder manche einen 5ms Ping haben(?!), schaffe ich es nie zu registrieren. dieses habe ich, aber irgendwie schaffe ich es nie auch der Tipp 1 Minute lang zu spammen hilft nichts! Gibts da kein besseres? Oder eine bessere Taktik zum registrieren eines BK?
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 :)
[Help] Ep5 Registration Script
09/28/2010 - Shaiya Private Server - 0 Replies
edited



All times are GMT +2. The time now is 20:24.


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.