-
Edit Register IP?
I use BR GunZ client, is there a way to change the ip in the register page so that it registers to a remote server computer?
Tried to edit but woulden't work any way I put it.
Config.php:
Code:
<?php
#MSSQL#
$DSN="GunzDB";
$usr="sa";
$pwd="password";
#######
?>
[Ajax register page]
-
Re: Edit Register IP?
you would normally edit $host and put the ip there.
-
Re: Edit Register IP?
didnt work:
Code:
<?php
#MSSQL#
$DSN="GunzDB";
$usr="sa";
$pwd="password";
$host="75.127.117.166";
#######
?>
is there anything else i need to edit?
-
Re: Edit Register IP?
try..
$host='localhost';
or..
$host='127.0.0.1';
-
Re: Edit Register IP?
I'm trying to connect it to another computer, so i can't use localhost.
-
Re: Edit Register IP?
Check the other computer if it accepts outside connection.
-
Re: Edit Register IP?
It always registers on my computer, so its not even trying to connect to the other computer.
-
Re: Edit Register IP?
did you try to add the port begind it yet? like..
$host='127.0.0.1:9999'; (just an example)
-
Re: Edit Register IP?
you use ODBC connection, so, if you need make account on remote computer you need configure your ODBC source in odbcad32.exe, set ip there, also user to MSSQL and pwd. U will need to allow remote connections in MSSQL on remote computer to make it work, and if you have firewall config it to allow connect to mssql. type "enable remote connections in MSSQL" in google, you will find info on how to do it.
-
Re: Edit Register IP?
I see, your using MSSQL. Sorry if I mislead you.