hi guys sorry for the late reply here the ss :
i all so check the fuction.php on the line 40 sory but i dont know what i going to change it?
or what i can donfig so to run my website smoothly pls help me guys!! here the ss for my fuction.php
// Edited By Austhistikated
// RageZone & PDF Team
// All Rights Reserved.
// Copyright 2008.
function checkcookie($where, $cookieuser, $cookiepass, $dbname, $sqladdress, $sqluser, $sqlpass) {
connectdb($dbname,$sqladdress, $sqluser, $sqlpass);
if($where==0) {
$result = mssql_query(sprintf(SELECT_USER_PASS, $cookieuser));
$rows=mssql_num_rows($result);
if ($rows>0) {
$rows=mssql_fetch_assoc($result);
extract($rows);
$password = ($UserPass);
if ($password == $cookiepass) {
quickrefresh('home.php');
} else {
resetcookies();
}
} else {
resetcookies();
}
} elseif($where==1) {
$result = mssql_query(sprintf(SELECT_USER_PASS, $cookieuser));
$rows=mssql_num_rows($result);
if ($rows>0) {
$rows=mssql_fetch_assoc($result);
extract($rows);
$password = ($UserPass);
if($password != $cookiepass) {
notloggedin();
}
} else {
notloggedin();
}
}
}
function connectdb($db, $dbaddress, $dbuser, $dbpass) {
$dbconnect = mssql_connect ($dbaddress, $dbuser, $dbpass);
mssql_select_db ($db, $dbconnect) or die (mysql_error());
}
here my pls check my config.php if right?
// Edited By Austhistikated
// RageZone & PDF Team
// All Rights Reserved.
// Copyright 2008.
$CONFIG['servername'] = "JDR_RAN";//Web Name
$CONFIG['dbaddress'] = "PC\SQLEXPRESS";//DB IP
$CONFIG['dbuser'] = "sa";//DB ID
$CONFIG['dbpass'] = "1234";//DB PASS
$CONFIG['dbdbname'] = "RanUser";
$CONFIG['dbdbname1'] = "RanGame1";
$CONFIG['dbdbname2'] = "RanShop";
$CONFIG['registration'] = "1";
$CONFIG['maxaccounts'] = "0";
$CONFIG['maxemail'] = "1";
$CONFIG['email'] = "0";
$CONFIG['emailaddress'] = "";
here guys of hope we can solve it the problem many thx again guys