Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Please help Fatal error: Call to undefined function mssql_

Junior Spellweaver
Joined
May 23, 2012
Messages
148
Reaction score
1
I always get this on appserv, i can use reglar Guzn registration page when i use like full site etc i get stuff like this

Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\secure\config.php on line 19


And here is my config whats wrong in here?
PHP:
<?php
session_start();
require('class_sqlfunctions.php');
date_default_timezone_set('Europe/Finland');

/**********************************
| @author SuperWaffle.            |
| Fill in the correct info below. |
*********************************/
class connect
{
  var $host = "MYPC-NAMEHERE/SQLEXPRESS";   // Host, usually PCNAME\SQLEXPRESS
  var $user = "sa";                      // Username is usually empty.
  var $pass = "blablabla";                     // Password is usually empty.
  var $dbn  = "GunzDB";              // Database name is most likely GunzDB.

  public function __construct()
  {
    $con = mssql_connect($this->host, $this->user, $this->pass) or die("<center><font color='red'>Failed to connect to the database!</font></center>");
    mssql_select_db($this->dbn, $con) or die("<center><font color='red'>Failed to select the database!</font></center>");
  }
}
new connect();

/*** Location of your emblem folder.
     Example: http://gunz.com/emblem = emblem ***/
$emblemfolder = "emblem";

/*** Define the account name(s) of the admin(s) here, seperate with ,"sa"
     Those will have access to the manage updates, manage events, item shop and IP Ban functions. ***/
$admins = array("Z1ls");

Any help would be appreciate it. thank you.
 
Newbie Spellweaver
Joined
Apr 23, 2014
Messages
44
Reaction score
1
No. No. No............. !

Start/php.ini/

Connection = On
session.auto = 1
output_buffering = On
 
Upvote 0
Junior Spellweaver
Joined
May 23, 2012
Messages
148
Reaction score
1
Dude, i already tried ODBC i know how ODBC works. thanks for helping can someone experienced please come skype with me and help me quick with teamview? i'll appreciate it soo much.
 
Upvote 0
Back
Top