Registration troubles, Please answer?
I know you guys are probably going to tell me to use "Search", but I have many times. I've tried both of these.
http://forum.ragezone.com/f245/relea...-0-2-a-233745/
http://forum.ragezone.com/f245/tut-c...-100-a-207578/
I can't connect to my server with neither, I don't know my sql DB username and password so I use "Windows Authentication" mode to login. I leave the User and Password string blank "". But even when I attempt to login I can never connect to my server.
This is what I get when I attempt to connect:
http://img260.imageshack.us/img260/2355/errfr6.jpg
Does anyone see anything wrong with this code?
Code:
$srvip = "24.60.164.31";
$srvport = "6000";
$mssql_user = "";
$mssql_pass = "";
$mssql_database = "GunzDB";
$mssql_host = "Z-IRKEN32\SQLEXPRESS";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
mssql_select_db($mssql_database);
Thank you for reading, I hope someone can help me.
Re: Registration troubles, Please answer?
http://img407.imageshack.us/img407/1949/aquirv2.jpg
Example:
$srvip = "24.60.164.31";
$srvport = "6000";
$mssql_user = "yourlogin";
$mssql_pass = "yourpassword";
$mssql_database = "GunzDB";
$mssql_host = "WILLIAN";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
mssql_select_db($mssql_database);
Re: Registration troubles, Please answer?
Ya, I disconnected then reconnect to extract my server from that same text box. What's displayed in my code is what mine is named. I still can't connect, is the code itself incorrectly setup? Does anyone know of any other code which provides better results?
http://img267.imageshack.us/img267/2043/reexw6.jpg
Re: Registration troubles, Please answer?
I now have a username and password, but still can't connect to my server. I went to:
MMOGuides.org - GunZ Online Port Check PHP
Which resulted in:
No response from MSSQL (1433 TCP) 24.60.55.30!
24.60.55.30 HTTP (Apache - 80 TCP) OK!
24.60.55.30 GunZ Server Port 1 (6000 TCP) OK!
No response from GunZ Server Port 2 (8900 TCP) 24.60.55.30!
24.60.55.30 GunZ Server Port 3 (6000 TCP) OK!
Is that right? There's no response from MSSQL on port 1433? What can I do to allow a response? Can someone please help me? I've read all the topics in search and tried everything. I would really appreciate help. :sad_1:
Re: Registration troubles, Please answer?
Maybe you did not allow port 80 TCP in firewall? :(
Re: Registration troubles, Please answer?
its not needed to have respone on port 1433 thats only for remote connection to the database
try to download an newer ntwdblib.dll it posted here several times, The most of the times it will help you
Re: Registration troubles, Please answer?
ya, Rotana helped me wif the new ntwdblib.dll