- Joined
- Dec 31, 2007
- Messages
- 23
- Reaction score
- 0
Fatal error: Call to undefined function mssql_connect() in C:\inetpub\wwwroot\Gunz\Website\_inc\config.php on line 13<?php
//Data Base Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$DBHost = 'RICKY-PC\FORUM'; //The host of your DB (I.E: MACHINE\SQL2005)
$DBUser = 'sa'; //Your DB User
$DBPass = '************'; //Your DB Password
$DB = 'GunzDB'; //Your GunZ DB
//Web Site Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$Top = '10'; //The total numbers on the list exp 10 will show the top 10
// Dont change any think below this!!!
$conn = mssql_connect($DBHost, $DBUser, $DBPass);
mssql_select_db($DB);
@mssql_select_db($DB);
$query = @mssql_query ("SELECT ID, Store, Register, Stats, LastReg, Status, Name, Servername From websettings");
for($i='';$i < @mssql_num_rows($query);++$i){
$row = @mssql_fetch_row($query);
$rank = $i+1;
$idw = $row[0];
$Storew = $row[1];
$Registerw = $row[2];
$Statsw = $row[3];
$LastRegw = $row[4];
$Statusw = $row[5];
$Namew = $row[6];
$Servernamew = $row[7];}
$Server = $row[6];
$SN = $row[7];
if ($row[1] >= '0') { $Store = '1'; }
if ($row[2] >= '1') { $allow_register = '1'; }
if ($row[3] >= '1') { $stats = '1'; }
if ($row[4] >= '1') { $lastreg = '1'; }
if ($row[5] >= '1') { $status = '1'; } ?>
<?php
//Data Base Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$DBHost = '******\FORUM'; //The host of your DB (I.E: MACHINE\SQL2005)
$DBUser = 'sa'; //Your DB User
$DBPass = '************'; //Your DB Password
$DB = 'GunzDB'; //Your GunZ DB
//Web Site Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$Top = '10'; //The total numbers on the list exp 10 will show the top 10
// Dont change any think below this!!!
$conn = mssql_connect($DBHost, $DBUser, $DBPass);
mssql_select_db($DB);
@mssql_select_db($DB);
$query = @mssql_query ("SELECT ID, Store, Register, Stats, LastReg, Status, Name, Servername From websettings");
for($i='';$i < @mssql_num_rows($query);++$i){
$row = @mssql_fetch_row($query);
$rank = $i+1;
$idw = $row[0];
$Storew = $row[1];
$Registerw = $row[2];
$Statsw = $row[3];
$LastRegw = $row[4];
$Statusw = $row[5];
$Namew = $row[6];
$Servernamew = $row[7];}
$Server = $row[6];
$SN = $row[7];
if ($row[1] >= '0') { $Store = '1'; }
if ($row[2] >= '1') { $allow_register = '1'; }
if ($row[3] >= '1') { $stats = '1'; }
if ($row[4] >= '1') { $lastreg = '1'; }
if ($row[5] >= '1') { $status = '1'; } ?>
I dnt know what im doing wrong i believe my information coronet im using IIS sever host my sever and i have PHP 5.2 installed Do i need to change anything in php.ini? thanks
//Data Base Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$DBHost = 'RICKY-PC\FORUM'; //The host of your DB (I.E: MACHINE\SQL2005)
$DBUser = 'sa'; //Your DB User
$DBPass = '************'; //Your DB Password
$DB = 'GunzDB'; //Your GunZ DB
//Web Site Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$Top = '10'; //The total numbers on the list exp 10 will show the top 10
// Dont change any think below this!!!
$conn = mssql_connect($DBHost, $DBUser, $DBPass);
mssql_select_db($DB);
@mssql_select_db($DB);
$query = @mssql_query ("SELECT ID, Store, Register, Stats, LastReg, Status, Name, Servername From websettings");
for($i='';$i < @mssql_num_rows($query);++$i){
$row = @mssql_fetch_row($query);
$rank = $i+1;
$idw = $row[0];
$Storew = $row[1];
$Registerw = $row[2];
$Statsw = $row[3];
$LastRegw = $row[4];
$Statusw = $row[5];
$Namew = $row[6];
$Servernamew = $row[7];}
$Server = $row[6];
$SN = $row[7];
if ($row[1] >= '0') { $Store = '1'; }
if ($row[2] >= '1') { $allow_register = '1'; }
if ($row[3] >= '1') { $stats = '1'; }
if ($row[4] >= '1') { $lastreg = '1'; }
if ($row[5] >= '1') { $status = '1'; } ?>
<?php
//Data Base Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$DBHost = '******\FORUM'; //The host of your DB (I.E: MACHINE\SQL2005)
$DBUser = 'sa'; //Your DB User
$DBPass = '************'; //Your DB Password
$DB = 'GunzDB'; //Your GunZ DB
//Web Site Stuff!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$Top = '10'; //The total numbers on the list exp 10 will show the top 10
// Dont change any think below this!!!
$conn = mssql_connect($DBHost, $DBUser, $DBPass);
mssql_select_db($DB);
@mssql_select_db($DB);
$query = @mssql_query ("SELECT ID, Store, Register, Stats, LastReg, Status, Name, Servername From websettings");
for($i='';$i < @mssql_num_rows($query);++$i){
$row = @mssql_fetch_row($query);
$rank = $i+1;
$idw = $row[0];
$Storew = $row[1];
$Registerw = $row[2];
$Statsw = $row[3];
$LastRegw = $row[4];
$Statusw = $row[5];
$Namew = $row[6];
$Servernamew = $row[7];}
$Server = $row[6];
$SN = $row[7];
if ($row[1] >= '0') { $Store = '1'; }
if ($row[2] >= '1') { $allow_register = '1'; }
if ($row[3] >= '1') { $stats = '1'; }
if ($row[4] >= '1') { $lastreg = '1'; }
if ($row[5] >= '1') { $status = '1'; } ?>
I dnt know what im doing wrong i believe my information coronet im using IIS sever host my sever and i have PHP 5.2 installed Do i need to change anything in php.ini? thanks
