Hey,
I own a textbased mmorpg, and I'm considering getting a secondary server, so that users can chose to log in on either server 1 or 2. How do I create a form on my main site, where users can chose "server 1" or "server 2" from a dropdown menu, and press login, whereafter they are redirected to the specific server?
Regards,
Terriator
Logging in on different servers?
Moderator: General Moderators
You can write a script that sends different header('Location: ....)s depending on the POST or GET parameter, see http://de3.php.net/header
Or even simpler: Have the login page/script on both servers and let the player choose before.Maybe a bit prettier than that 
Or even simpler: Have the login page/script on both servers and let the player choose before.
Code: Select all
choose server
<a href="http://server1.doma.in/login">Server 1</a> <a href="http://server2.doma.in/login">Server 2</a>