mssql_select_db() Error

Developer
Joined
Jul 28, 2009
Messages
983
Reaction score
133
Hey,
If i want to make an register page,
i always get:
mssql_select_db() function.mssql-select-db'>function.mssql-select-db Unable to connect to server: in <b>C:\xampp\htdocs\register\register.php

The details in the config.ini are correct:
I tryed without the SQLEXPRESS and with
Code:
<? 
$Title = 'GunZ'; // Website title page !
$Title2 = 'GunZ REGISTRATION PAGE'; // Your GunZ Name - Registration Page !
$DBHost = 'ITS-E953E8C605D'; // MSSQL Host : ....\SQLEXPRESS
$DBUser = 'sa'; // MSSQL User
$DBPass = 'mypassword'; // MSSQL Password
$DB = 'GunzDB'; // Gunz Database Name

$conn = mssql_connect($DBHost, $DBUser, $DBPass); // DONT CHANGE THIS //
mssql_select_db($DB); // DONT CHANGE THIS //
?>

and i tryed the fix from Kyuma,
And i created the obdc Data source too, That works because i can start the matchserver etc.
But still didn't work.
Does anyon have a solution?
 
Last edited:
What is AppServ?
Anyon know how to fix this?

Edit: Still same problem with AppServ.
 
Last edited:
Upvote 0
Download Appserv



REPLCE THE Files in your Appserv

go to C:/AppServ/php6

and replace the DLL File


go to C:/AppServ/Apache2.2
and replace the DLL File

THE PHP.INI IS Located in The WINDOWS Folder

After you have replace the files restart your computer or restart Appserv
 
Upvote 0
Already did, still dun work.
I still have: function mssql_connect()
I tryed Xampp, Wamp, AppServ.
Does anyon have a solution?
 
Last edited:
Upvote 0
Download Appserv



REPLCE THE Files in your Appserv

go to C:/AppServ/php6

and replace the DLL File


go to C:/AppServ/Apache2.2
and replace the DLL File

THE PHP.INI IS Located in The WINDOWS Folder

After you have replace the files restart your computer or restart Appserv


fucker I MADE THAT DONT FUCKING STEAL IT FUCKER

GO DIE NOOB **** OFF

HERES THE PROVE:

http://forum.ragezone.com/f497/tut-fix-appserv-most-errors-621565/
 
Upvote 0
Eronisch - mssql_select_db() Error - RaGEZONE Forums

Eronisch - mssql_select_db() Error - RaGEZONE Forums
 
Last edited:
Upvote 0
With AppServ i have the same problem,
and with your fix too,
Except there is no php.ini in the WINDOWS file or in c:appserv.

I just want the register page to work >.<
 
Upvote 0
Back