
Originally Posted by
seryi
lol PC127,15779
MSSQL server port, not Game port.
Depending on your database configuration, but by default is 1433.
sqlConn.php
PHP Code:
<?php
//----------------- Database Config ----------------------//
$serverIp = "PC127"; //server ip and port (if using remote maching, if local - use server-name\SQLEXPRESS or whatever.
$userName = "sa"; // username
$password = "1234"; // password
$dbName = "SRO_VT_ACCOUNT"; // database (by default SRO_VT_ACCOUNT)
//----------------- Database Connection ------------------//
$dbConn = mssql_connect($serverIp, $userName, $password);
mssql_select_db($dbName, $dbConn);
?>
now error
PHP Code:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\include\Security.php:1) in C:\AppServ\www\login.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\include\Security.php:1) in C:\AppServ\www\login.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\include\Security.php:1) in C:\AppServ\www\login.php on line 32