Page 1 of 1

Help with a feature

Posted: Tue Sep 09, 2008 7:01 pm
by pokerisawesome
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?

Re: Help with a feature

Posted: Tue Sep 09, 2008 8:30 pm
by Kent Briggs
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?
Probably the best way would be with a form button built with a PHP script. Something like:

<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.

Re: Help with a feature

Posted: Tue Sep 09, 2008 8:34 pm
by pokerisawesome
but what about using the user credentials from the game to just login to another php page in general?

Re: Help with a feature

Posted: Tue Sep 09, 2008 10:22 pm
by Kent Briggs
pokerisawesome wrote:but what about using the user credentials from the game to just login to another php page in general?
You can do whatever you want with your own script. The poker server is not involved with that.

Re: Help with a feature

Posted: Tue Sep 09, 2008 10:50 pm
by pokerisawesome
ok thanks