well heres what i get
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\blueweb\include\config.php on line 18
heres the config.php
Code:<?php session_start(); require('class_sqlfunctions.php'); /********************************** | @author SuperWaffle. | | Fill in the correct info below. | *********************************/ class connect { var $host = "MYNAME\SQLEXPRESS"; // Host, usually PCNAME\SQLEXPRESS var $user = "sa"; // Username is usually empty. var $pass = "*******"; // 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>"); LINE 18 i gues.. >>>>> mssql_select_db($this->dbn, $con) or die("<center><font color='red'>Failed to select the database!</font></center>"); } } new connect(); /*** The name of your server. This will show up in the title and on every page H1. ***/ $gunzname = "CGunZ"; /*** 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 ,"this" Those will have access to the manage updates, manage events, item shop and IP Ban functions. ***/ $admins = array("acc0", "acc1", "acc2", "acc3"); ?>


Reply With Quote


