
Originally Posted by
chinowyc
give me team for configurate!! :) :D
well i don't have team viewer now but i can share what i edit
Index.php
PHP Code:
<?php
$sql_host = "WIN7-ULTIM-PC\SQLEXPRESS";
$sql_user = "sa";
$sql_pass = "123";
$sql_db = "BlackRogue_Account";
$sqlLink = mssql_connect($sql_host,$sql_user,$sql_pass);
if(!$sqlLink) die("MSSQL server is not accessable, why should we try to select database ?");
else {
mssql_select_db($sql_db,$sqlLink);
registros.php
PHP Code:
<p align="center"><?php
session_start();
$server_name = "BloodSro Registros/"; // Server name;
$host = "WIN7-ULTIM-PC\SQLEXPRESSS"; // SQL server name for example PC-NAME\SQLEXPRESS
$user = "sa"; // SQL username
$pass = "123"; // SQL password
$db = "BlackRogue_Account"; // SQL Database
$sh = "BlackRogue_Game"; //
$home = ""; // If you want to reditect after register write your hame page link here if not keep it empty.
$silk = "0"; // Start silk amount.
$gold = "0"; // User start gold on storage
$az = 1; // A-Z a-z Only ? 1 = yes 0 = no
$em = 1; // Allow using more than one E-Mail? 1 = yes 0 = no
$cp = 1; // IP LIMIT 1 = yes 0 = no
$li = 10; // IP LIMIT number
@$ip = $_SERVER['REMOTE_ADDR']; // Don't change it
@$connect = odbc_connect("Driver={SQL Server};Server={".$host."}; Database={".$db."}", "".$user."", "".$pass."") or die("<center><b style=\"border:1px dashed #FF0000;\">".str_replace("[Microsoft][ODBC SQL Server Driver][SQL Server]", "", odbc_errormsg())."</b></center>");
?>
eventsInfo.php
PHP Code:
?>
<?php
$sql_host = "WIN7-ULTIM-PC\SQLEXPRESS";
$sql_user = "sa";
$sql_pass = "123";
$sql_db = "BlackRogue_Account";
$sqlLink = mssql_connect($sql_host,$sql_user,$sql_pass);
if(!$sqlLink) die("MSSQL server is not accessable, why should we try to select database ?");
else {
mssql_select_db($sql_db,$sqlLink);
did you upload the complete one anyway ?