hosting an gunz register php(help!!!)

Results 1 to 19 of 19
  1. #1
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    hosting an gunz register php(help!!!)

    hello guys i need ur help in hosting an register php for my gunz n i hav an web host too i just want to knw how to configure it........if sm 1 could help me ty :)
    Last edited by maxy2010; 18-02-12 at 09:28 PM.


  2. #2
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: hosting an gunz register php(help!!!)

    So basically, you run a GunZ server on server 1 and want to host a website on server 2?
    To communicate with server 1 from server 2 you will need to enable a remote MSSQL connection on server 1.

  3. #3
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: hosting an gunz register php(help!!!)

    Quote Originally Posted by SuperWaffle View Post
    So basically, you run a GunZ server on server 1 and want to host a website on server 2?
    To communicate with server 1 from server 2 you will need to enable a remote MSSQL connection on server 1.

    sir i didnt get u....in short i just want to host registeration page for my gunz server in web hoster(tat i hav) but dono how to do ?

  4. #4
    Imri Persiado tnrh1 is offline
    MemberRank
    May 2008 Join Date
    960Posts

    Re: hosting an gunz register php(help!!!)

    Maxy looks like your server is running on a diffrent host from the website.
    Let's call it host1(game) host2(web), when you register through the register page which located on host2 the information should be sent to the sql server that located in host1 .. why? cause your game run on host1 and the game need that information.

    So you have 2 options:
    Put the register page on host1 which means host2 is not needed anymore.
    The other option is to allow remote connections in sql server on host1 so you can send the data from host2 to host1.

    I tryed to explain it easly so you can get it.

  5. #5
    Proficient Member Twist165 is offline
    MemberRank
    May 2011 Join Date
    167Posts

    Re: hosting an gunz register php(help!!!)

    you cant lol if you wana host a web with MYSSQL Detabase it must be hosted on your host that has the MSSQL Detabase.

    but if you are just hosting a html with nothing then the webhost dose the job

  6. #6
    Selfish Bastard Z1ls is offline
    MemberRank
    Aug 2009 Join Date
    WinlandLocation
    2,048Posts

    Re: hosting an gunz register php(help!!!)

    you must host ur gunz website from vps or own computer, bcuz u need to have connection to your MSSQL database.

    You can't host it with webhosting -.-

  7. #7
    Proficient Member Twist165 is offline
    MemberRank
    May 2011 Join Date
    167Posts

    Re: hosting an gunz register php(help!!!)

    that was what i am trying to say :)

  8. #8
    Ecchi addicted adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    Re: hosting an gunz register php(help!!!)

    If your webhost support MSSQl, just enable remote connection on the MSSQL that is on the server host, then configure your webpage for listen to remote DB. For this, in the web config, where says "host" you have to put "Server host ip\SQLEXPRESS".
    Hope you understand me.
    Posted via Mobile Device

  9. #9
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    thumbs up Re: hosting an gunz register php(help!!!)

    Quote Originally Posted by tnrh1 View Post
    Maxy looks like your server is running on a diffrent host from the website.
    Let's call it host1(game) host2(web), when you register through the register page which located on host2 the information should be sent to the sql server that located in host1 .. why? cause your game run on host1 and the game need that information.

    So you have 2 options:
    Put the register page on host1 which means host2 is not needed anymore.
    The other option is to allow remote connections in sql server on host1 so you can send the data from host2 to host1.

    I tryed to explain it easly so you can get it.
    ty....cn u help me with allow remote connections in sql server on host1

  10. #10
    Imri Persiado tnrh1 is offline
    MemberRank
    May 2008 Join Date
    960Posts

    Re: hosting an gunz register php(help!!!)


  11. #11
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: hosting an gunz register php(help!!!)

    tnrh1 you are like wow

  12. #12
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    Re: hosting an gunz register php(help!!!)

    Allow remote database connections in MSSQL Server,
    Change the config abit boom done. People stop trying to make it
    more complicated than it needs to be.
    Code:
    //Config
    $host = "server_name:port";
    $user = "sa";
    $pass = "";
    $database = "GunzDB";
    
    //Excutes Connection
    $db = mssql_connect($host, $user, $pass) or die ('Unable to Connect to Host');
    mssql_select_db($database,$db);
    Enjoy.
    Dont forget to config the MSSQL Server to allow.
    Last edited by Blasian; 27-05-11 at 02:48 PM.

  13. #13
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: hosting an gunz register php(help!!!)

    i've opened the remote database connections in MSSQL Server.....now i have an web host with mysql n database function as shown in above attached Attached Thumbnails.....cn sm 1 help me in hosting register php

    Dude3889
    CheezeBurgerZ? thank you
    Last edited by maxy2010; 18-02-12 at 09:28 PM.

  14. #14
    Valued Member Marwan1 is offline
    MemberRank
    Jun 2011 Join Date
    127Posts

    Re: hosting an gunz register php(help!!!)

    Quote Originally Posted by tnrh1 View Post
    Wow lol good one and it helped me by the way Thats good Function fo this
    Let me google that for you

  15. #15
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: hosting an gunz register php(help!!!)

    @Twist and Z1ls

    wrong. Remote MSSQL allows you to connect to the database manually.

  16. #16
    Member AliasCoder is offline
    MemberRank
    Jun 2011 Join Date
    73Posts

    Re: hosting an gunz register php(help!!!)

    Remember, if your gonna use a web host to host your website,

    1) Go to MYSQL DATABASE (create a database)
    2) Go to PhpMyAdmin and select your database
    3) Import and execute your GunZ database.sql file
    4) Configure your website's config.php file

    Your done (k, meant for test websites just saying)

  17. #17
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: hosting an gunz register php(help!!!)

    Quote Originally Posted by AliasCoder View Post
    Remember, if your gonna use a web host to host your website,

    1) Go to MYSQL DATABASE (create a database)
    2) Go to PhpMyAdmin and select your database
    3) Import and execute your GunZ database.sql file
    4) Configure your website's config.php file

    Your done (k, meant for test websites just saying)
    ogod. You totally messed up everything, REMOTE MSSQL HAS BEEN MADE FOR A REASON. GOD.

    Requesting a lock.

  18. #18
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: hosting an gunz register php(help!!!)

    Quote Originally Posted by Vusion View Post
    ogod. You totally messed up everything, REMOTE MSSQL HAS BEEN MADE FOR A REASON. GOD.

    Requesting a lock.
    Denied. This isn't your thread.

  19. #19
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: hosting an gunz register php(help!!!)

    Quote Originally Posted by Vusion View Post
    @Twist and Z1ls

    wrong. Remote MSSQL allows you to connect to the database manually.
    You can set a remote MSSQL Connection, and make it working like any local connection!

    You can Host your Web on a remote Host, as long as the host supports remote MSSQL connections, and your DB is located on a machone which allows remote MSSQL connections.



Advertisement