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:
Does anyone see anything wrong with this code?
Thank you for reading, I hope someone can help me.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);



Reply With Quote


