Re: What to do, what to do!
| From: | (Hace) | Date: | Sat, 15 Dec 2001 18:21:40 +0000 |
| Subject: | Re: What to do, what to do! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10917@lists.php.net to get a copy of this message | ||
Todd Williamsen schreef:
>I am asking You All Knowing Ones what would be a solution to this and how
>would I implement it?
You have to let the 'losers' of games confirm the (lost) matches.
Its up to you how to do that.
Maybe sent the loser an email with some confirmationcode that is
created when the winner enters the result. So when the winner enters
the result, a random string is saved in a table with the match, and
you sent the loser an email with an URL like:
===
WinnerName has submitted the result of a game.
According to winner, the score was:
WinnerName: 45
You: 42
Please confirm this result by going to:
http://madden.williamsen.net/confirmgame.php?gameid=43&confirmcode=SAD232
If the score was different, please enter the correct result at:
http://madden.williamsen.net/otherresult.php?gameid=43
If you have never played against WinnerName, please go to:
http://madden.williamsen.net/wehavesomesuckers.php?name1=WinnerName&name2=YouName
===
This way, losers only have to click a link to confirm a lost game. Of
course, the confirmation-code must not be sent to the winner of the
game...
Good luck,
Hace
--
http://hace.dyndns.org