So I would like to login to the site using the registration from the previous post that now works.
I would like it to redirect to a certain page if the credentials are correct...thoughts?
Help with a feature
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Help with a feature
Probably the best way would be with a form button built with a PHP script. Something like:pokerisawesome wrote:So I would like to login to the site using the registration from the previous post that now works.
I would like it to redirect to a certain page if the credentials are correct...thoughts?
<form method="post" action="http://12.34.56.789:8087">
<input type="hidden" name="LoginName" value="<?php echo $loginname; ?>">
<input type="hidden" name="LoginPassword" value="<?php echo $loginpassword; ?>">
<input type="submit" value="Poker Login">
</form>
Of course, $loginname and $loginpassword will have to already be set to the proper values.
-
- Posts: 19
- Joined: Mon Sep 01, 2008 7:12 pm
Re: Help with a feature
but what about using the user credentials from the game to just login to another php page in general?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Help with a feature
You can do whatever you want with your own script. The poker server is not involved with that.pokerisawesome wrote:but what about using the user credentials from the game to just login to another php page in general?