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 :)
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.
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.
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.
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
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 -.-
that was what i am trying to say :)
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
tnrh1 you are like wow
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.
Enjoy.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);
Dont forget to config the MSSQL Server to allow.
Last edited by Blasian; 27-05-11 at 02:48 PM.
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.
Wow lol good one and it helped me by the way Thats good Function fo this
Let me google that for you
@Twist and Z1ls
wrong. Remote MSSQL allows you to connect to the database manually.
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)