Help with a feature

For general discussion of the Poker Mavens software

Help with a feature

Postby pokerisawesome » Tue Sep 09, 2008 7:01 pm

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

Re: Help with a feature

Postby Kent Briggs » Tue Sep 09, 2008 8:30 pm

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3764
Joined: Wed Mar 19, 2008 8:47 pm

Re: Help with a feature

Postby pokerisawesome » Tue Sep 09, 2008 8:34 pm

but what about using the user credentials from the game to just login to another php page in general?
pokerisawesome
 
Posts: 19
Joined: Mon Sep 01, 2008 7:12 pm

Re: Help with a feature

Postby Kent Briggs » Tue Sep 09, 2008 10:22 pm

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3764
Joined: Wed Mar 19, 2008 8:47 pm

Re: Help with a feature

Postby pokerisawesome » Tue Sep 09, 2008 10:50 pm

ok thanks
pokerisawesome
 
Posts: 19
Joined: Mon Sep 01, 2008 7:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 9 guests

cron