[Super Urgent] Remote configuration.

Results 1 to 5 of 5
  1. #1
    Apprentice martinsbicud is offline
    MemberRank
    Aug 2011 Join Date
    5Posts

    [Super Urgent] Remote configuration.

    Well ... first Hello everyone, I think it's my first topic ... I am Brazilian and I do not understand English but I use google translator, so please escrevão correctly so that I can translate then:).

    Well my question is ... I have a vps hosting and my site is in the vps hosting and website ... I've configured my vps everything right ... I released the door, configure SQL to connect remotely, only missed putting in the ip of the vps config.php, and I do not know what the tag should I use, could someone pass me a config.php that is set to connect remotely? Thanks in advance. ;)

    Help-me please.


  2. #2
    Account Upgraded | Title Enabled! e1o14 is offline
    MemberRank
    Apr 2009 Join Date
    GermanyLocation
    306Posts

    Re: [Super Urgent] Remote configuration.

    I hope this is what you're asking for:

    PHP Code:
    /*Connect to MSSQL Server */

    $_MSSQL['Server']      = "VPS-Name\SQLEXPRESS"//Your VPS Name
    $_MSSQL['User']       = "sa";                  //Your User Name for MSSQL Connection
    $_MSSQL['Password']    = "Password";            //Your Password
    $_MSSQL['Database']    = "Database Name";       //Database name (GunzDB)

    $connect mssql_connect($_MSSQL['Server'],$_MSSQL['User'],$_MSSQL['Password']) or die ("Connection to the database has failed");
    mssql_select_db($_MSSQL['Database'],$connect) or die ("Couldn't find the database"); 

  3. #3
    Apprentice martinsbicud is offline
    MemberRank
    Aug 2011 Join Date
    5Posts

    Re: [Super Urgent] Remote configuration.

    then, in fact I need to connect to the ip of my vps and then to connect that way there that you said.

    My site is hosted and I want him to connect via my vps ip.

    Thank you for your attention
    help me

  4. #4
    Mad son. Evilness is offline
    MemberRank
    Oct 2010 Join Date
    207Posts

    Re: [Super Urgent] Remote configuration.

    When you place your website in vps it auto detects your vps ip lol.

  5. #5
    Apprentice martinsbicud is offline
    MemberRank
    Aug 2011 Join Date
    5Posts

    Re: [Super Urgent] Remote configuration.

    But the site is in the accommodation, that is the problem, then he can not find the sql and need to find the ip for it.



Advertisement