Edit Register IP?

Results 1 to 10 of 10
  1. #1
    Member redhellhound is offline
    MemberRank
    Sep 2007 Join Date
    BC, Canada! EHLocation
    99Posts

    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]


  2. #2
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Edit Register IP?

    you would normally edit $host and put the ip there.

  3. #3
    Member redhellhound is offline
    MemberRank
    Sep 2007 Join Date
    BC, Canada! EHLocation
    99Posts

    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?

  4. #4
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: Edit Register IP?

    try..
    $host='localhost';
    or..
    $host='127.0.0.1';

  5. #5
    Member redhellhound is offline
    MemberRank
    Sep 2007 Join Date
    BC, Canada! EHLocation
    99Posts

    Re: Edit Register IP?

    I'm trying to connect it to another computer, so i can't use localhost.

  6. #6
    Account Upgraded | Title Enabled! IQstim is offline
    MemberRank
    Jan 2009 Join Date
    630Posts

    Re: Edit Register IP?

    Check the other computer if it accepts outside connection.

  7. #7
    Member redhellhound is offline
    MemberRank
    Sep 2007 Join Date
    BC, Canada! EHLocation
    99Posts

    Re: Edit Register IP?

    It always registers on my computer, so its not even trying to connect to the other computer.

  8. #8
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: Edit Register IP?

    did you try to add the port begind it yet? like..
    $host='127.0.0.1:9999'; (just an example)

  9. #9
    Member Girbicid is offline
    MemberRank
    Apr 2007 Join Date
    UkraineLocation
    72Posts

    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.

  10. #10
    Account Upgraded | Title Enabled! IQstim is offline
    MemberRank
    Jan 2009 Join Date
    630Posts

    Re: Edit Register IP?

    I see, your using MSSQL. Sorry if I mislead you.



Advertisement