Register for your free account! | Forgot your password?

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

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

Advertisement



Rappelz Private Server Registration Script

Discussion on Rappelz Private Server Registration Script within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old 07/30/2011, 19:32   #46
 
elite*gold: 0
Join Date: May 2009
Posts: 81
Received Thanks: 28
$host = "127.0.0.1\\SQLExpress"; // your sql instance
kannst aber auch deine ip rein machen

bei line 9 fehler liegt es am Router da der port nicht weiter geleitet wird und somit keine verbindung zu deiner DB aufbauen kann.

Kann aber auch sein das 1 dienst bei dir nicht an ist.
rattexxl is offline  
Old 07/30/2011, 19:39   #47
 
Makenci's Avatar
 
elite*gold: 100
Join Date: Mar 2009
Posts: 198
Received Thanks: 40
danke, ich versuche mal und guck mal

kommt immer wieder der gleiche Fehler..
was für Dienste müsste ich den freischalten ?
Makenci is offline  
Old 08/14/2011, 05:09   #48
 
elite*gold: 0
Join Date: Jun 2010
Posts: 147
Received Thanks: 21
Weis jemand wie ich das lösen kann ?

Quote:
Warning: mssql_select_db() [function.mssql-select-db]: message: The server principal "SERVER\IUSR_91ervans" is not able to access the database "Auth" under the current security context. (severity 14) in C:\inetpub\vhosts\pfad\register.php on line 12
MfG 91ervans
91ervans is offline  
Old 08/20/2011, 21:32   #49
 
elite*gold: 0
Join Date: Jun 2010
Posts: 147
Received Thanks: 21
Weis den niemand eine lösung auf dei fehlermeldung ?

Also wo muss ich das einstellen das mein Webserver auf die Datenbank Auth zugreifen kann ?

MfG 91ervans
91ervans is offline  
Old 09/06/2011, 20:07   #50
 
elite*gold: 0
Join Date: Aug 2011
Posts: 8
Received Thanks: 0
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\REGI.php on line 9

help
SingChan is offline  
Old 01/02/2012, 16:39   #51
 
elite*gold: 0
Join Date: Sep 2010
Posts: 3
Received Thanks: 0
bin bereit 50€ für ein Regi script zu zahlen was geht
Ginahund is offline  
Old 01/06/2012, 19:13   #52
 
elite*gold: 0
Join Date: Dec 2008
Posts: 252
Received Thanks: 44
"if you want to start it with XAMPP you have to edit following things :

go in your XAMPP/php folder and open the "php.ini" file

edit following things :

;extension=php_mssql.dll ( remove the ";" before the extension )

its look like so :

extension=php_mssql.dll

and you have to edit this :

;extension=php_pdo_mssql.dll ( the same.. just remove the ";" )

Done.

Regards. Strean"


Just read the first post. -.-'
XoreYo is offline  
Old 01/29/2012, 03:14   #53

 
Exterminator-[Fury]'s Avatar
 
elite*gold: 15
Join Date: Jul 2010
Posts: 726
Received Thanks: 50
Can u help me making a register page?
i do only have to create a index.php file in xamp htdocs folder and put ur info in it right ?
do i have to change some stuff in the file?

Quote:
Originally Posted by Strean View Post
Hey all .

I was wondering that i didnt see any register script for the private server...

so here is my script written in php :

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>
if you want to start it with XAMPP you have to edit following things :

go in your XAMPP/php folder and open the "php.ini" file

edit following things :

;extension=php_mssql.dll ( remove the ";" before the extension )

its look like so :

extension=php_mssql.dll

and you have to edit this :

;extension=php_pdo_mssql.dll ( the same.. just remove the ";" )

Done.

Regards. Strean
Exterminator-[Fury] is offline  
Old 04/03/2012, 21:13   #54
 
elite*gold: 0
Join Date: Jul 2010
Posts: 50
Received Thanks: 6
Ok.

I have NEVER used xampp, php, what-so-ever.
Could you make a step-by-step guide (except installation) on how to have the register page being able to be accessed through the internet. (I have no idea where to put this info ;D)
bauke9 is offline  
Old 04/03/2012, 22:05   #55


 
Xijezu's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
Quote:
Originally Posted by bauke9 View Post
Ok.

I have NEVER used xampp, php, what-so-ever.
Could you make a step-by-step guide (except installation) on how to have the register page being able to be accessed through the internet. (I have no idea where to put this info ;D)
I rather would say use IIS instead of XAMPP.

But well, here a short overview (I hope you understand it like this):

IIS is a Windows-Hosttool, means it is already included. You have to activate it in your Control Panel -> Windows Programs.
When you activated it, you can find IIS (Internet Information Service) in your programs. When you start it, you see a Default Page (accessable through ), you can edit it or delete it and add a new page, basically it doesn't make any difference.

After that you have to download and Install PHP () - It will get activated automatically.
After that you just have to set up the Sql Server Driver for PHP (since the mssql_[...] isn't supported anymore) and that's it.

PM me if you have any questions.
Xijezu is offline  
Old 04/03/2012, 22:15   #56
 
elite*gold: 0
Join Date: Aug 2011
Posts: 185
Received Thanks: 33
Hi
You can use wampserver .

he very simple.
WampServer is a web development platform on Windows allowing you to create dynamic web applications with Apache2, PHP and MySQL.
Modamer9 is offline  
Old 04/03/2012, 22:18   #57


 
Xijezu's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
Quote:
Originally Posted by Modamer9 View Post
Hi
You can use wampserver .

he very simple.
WampServer is a web development platform on Windows allowing you to create dynamic web applications with Apache2, PHP and MySQL.
If you use wamp -> Don't cry when you have a lack of security.

If I remember right, wamp is a previous version from XAMPP, and those "server" are NOT for public hosting.
Xijezu is offline  
Old 04/03/2012, 23:18   #58
 
elite*gold: 0
Join Date: Aug 2011
Posts: 185
Received Thanks: 33
Quote:
Originally Posted by Xijezu View Post
If you use wamp -> Don't cry when you have a lack of security.

If I remember right, wamp is a previous version from XAMPP, and those "server" are NOT for public hosting.
yes in first install is not secure . but you can make hem better when you use brain.exe and your update .

I am using wamp server since long time. It's light weight and very easy to configure and do upgrades. Also If you need perl, you can simply install perl into wamp server. I also used xampp couple of times, but simply I don't like it. Also I heard it has some security vulnerabilities and need to reconfigure
Modamer9 is offline  
Old 04/03/2012, 23:26   #59
 
haxti's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 573
Received Thanks: 163
Quote:
Originally Posted by Modamer9 View Post
Also I heard it has some security vulnerabilities and need to reconfigure
Any Webserver have those...
haxti is offline  
Old 04/03/2012, 23:28   #60
 
→Striker←'s Avatar
 
elite*gold: 0
Join Date: Oct 2011
Posts: 275
Received Thanks: 266
Quote:
Originally Posted by haxti View Post
Any Webserver have those...
No, Not really..
→Striker← is offline  
Reply




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


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