Help with a feature

For general discussion of the Poker Mavens software
Post Reply
pokerisawesome
Posts: 19
Joined: Mon Sep 01, 2008 7:12 pm

Help with a feature

Post 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?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Help with a feature

Post 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.
pokerisawesome
Posts: 19
Joined: Mon Sep 01, 2008 7:12 pm

Re: Help with a feature

Post by pokerisawesome »

but what about using the user credentials from the game to just login to another php page in general?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Help with a feature

Post 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.
pokerisawesome
Posts: 19
Joined: Mon Sep 01, 2008 7:12 pm

Re: Help with a feature

Post by pokerisawesome »

ok thanks
Post Reply