Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 22:07

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

Advertisement



problem with registration script

Discussion on problem with registration script within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 80
Received Thanks: 1
problem with registration script

Good evening I have a problem with the registration script.
When I go on
he wrote:

( ! ) Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\register.php on line 9
Call Stack
# Time Memory Function Location
1 0.0007 683416 {main}( ) ..\register.php:0

I used wamp server, my register.php :
PHP Code:
<?php 

    $host 
"5.108.3.228\\SQLEXPRESS"// your sql instance 
    
$user "sa"// username 
    
$pw "123456"// 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>
said200 is offline  
Old 03/18/2012, 15:21   #2
 
elite*gold: 0
Join Date: Dec 2010
Posts: 90
Received Thanks: 10
rly fail ...

$host = "5.108.3.228\\SQLEXPRESS"; // your sql instance

is wrong ... not make u'r ip before \\SQLEXPRESS ... make u'r pc name there
dominicrode is offline  
Old 03/19/2012, 11:11   #3


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

$host = "5.108.3.228\\SQLEXPRESS"; // your sql instance

is wrong ... not make u'r ip before \\SQLEXPRESS ... make u'r pc name there
The only fail here is your answer.
I mean, yes, this would cause an error, but NOT the error which he says.

Code:
( ! ) Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\register.php on line 9
What does it says? The mssql_connect() function doesn't exist. What does this says? The .dll is missing.

Use the Sql Server Driver for PHP.
Xijezu is offline  
Reply


Similar Threads Similar Threads
Registration Script
03/16/2012 - CO2 Private Server - 5 Replies
Hey guys, I was hoping to find someone to teach me how to make the .php registration page. feel free to give me links for it lol gonna really appreciate it! it's the only thing I'm missing to run the damn server.
registration-script
11/18/2011 - Rappelz Private Server - 0 Replies
registration-script help ): http://im15.gulfup.com/2011-11-18/1321617604911.j pg
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/25/2011 - Rappelz - 4 Replies
hello can any one give me a good registration script and working i try this but didnt work <?php $host = "(local)\\RappelzSQL"; // your sql instance $user = "sa"; // username $pw = ""; // password
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?



All times are GMT +1. The time now is 22:08.


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.