Hello , I need a little help if someone can figure what the answer , so here we go :
I trying to use sql_connect from my website which is on different host from my gameserver host (2 hosts in other words) , so there must be some adds that I need to add to connect to the database from one host to another one , I will give u the code I got and if you know what I need to add and you can tell me I will appriciate it
here's the code :
$acc_database_name = "host IP;
$acc_database_user = "sql account";
$acc_database_pass = sql password";
$auth_name = "Telecaster"; // db name
$connectionInfo_acc = array( "Database"=>"$auth_name", "UID"=>"$acc_database_user", "PWD"=>"$acc_database_pass");
$connect_acc = sqlsrv_connect( $acc_database_name, $connectionInfo_acc) or die($sql_error_acc);
I opened port 1433 , I enabled TCP/IP , the 1433 is the default port.
another thing if someone can PM me how to make master password too, I have searched but found nothing.
EDIT : Just thougth now that if the website and the gameserver is on different hosts , how the guild icons supposed to get uploaded to the website