Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 08:09

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

 

[HELP] Registration Script 8.1

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   #2
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,043
Received Thanks: 978
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   #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

You must register and activate your account in order to view images.

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   #4
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2,557
Received Thanks: 2,412
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



« Previous Thread | Next Thread »

Similar Threads
Registration Script :)
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...
0 Replies - Rappelz Private Server
Registration Script php
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....
6 Replies - Shaiya Private Server
BK-Registration(Script....)
Hallo, fast alle verwenden Scripts, oder manche einen 5ms Ping haben(?!), schaffe ich es nie zu registrieren. dieses habe ich, aber...
4 Replies - General Gaming Discussion
Registration script
Hi all i want to ask any guide help to make Registration page ? please help from professional In this topic thanks all :)
5 Replies - Rappelz
[Help] Ep5 Registration Script
edited
0 Replies - Shaiya Private Server



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


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.