i got
1. Ranking website
2. normal website
3. register
i filled all right information - config.php
and still it cant see GunzDB
also did odbcad32 - forwarded 80
( all gunz ports )
Code:
<?php
session_start();
require('class_sqlfunctions.php');
/**********************************
| @author SuperWaffle. |
| Fill in the correct info below. |
*********************************/
class connect
{
var $host = "PC1-PC\SQLEXPRESS"; // Host, usually PCNAME\SQLEXPRESS
var $user = "sa"; // Username is usually empty.
var $pass = "hugo123"; // Password is usually empty.
var $dbn = "GunzDB2"; // 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();
/*** The name of your server.
This will show up in the title and on every page H1. ***/
$gunzname = "Fire GunZ";
/*** 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("hugofunky", "Hugofunky", "iDevil123");
?>
i dont get it.
every website i use
PLEASE HELP!