Quote:
Originally posted by Lesane
$_SERVER['HTTP_REFERRER'] is not that reliable.
You could also put an extra useless value in the play action:
PHP Code:
$useless_value="100";
And then by reg action you can use something like this:
PHP Code:
if ($action == "reg" && $useless_value == 100) {
|
This also wouldn't be possible since the script is called *again* when the score is submitted, and hence any vars set when the user was playing won't still be set... I actually can't think of a 100% reliable way around this right now - the referrer is the best way I can think of, but as we all know, it can be easily poisoned.
Back to the drawing board

.