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?
Any help would be appreciate it. thank you.
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.