X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=birthday_confirm.php;h=c228c94a1379db3b2e856fcc28758a19a141829f;hp=2f1aedc0386e45e69884d362a08c6c3bd4a9e423;hb=a28637f0eb7975f2240c42d349e5f08a9722d9bb;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c diff --git a/birthday_confirm.php b/birthday_confirm.php index 2f1aedc038..c228c94a13 100644 --- a/birthday_confirm.php +++ b/birthday_confirm.php @@ -56,10 +56,10 @@ setContentType('text/html'); redirectOnUninstalledExtension('birthday'); // Script is installed so let's check for his confirmation link... -$userid = bigintval(getRequestElement('userid')); +$userid = bigintval(getRequestParameter('userid')); // Only allow numbers here... -$chk = bigintval(getRequestElement('check'), false); +$chk = bigintval(getRequestParameter('check'), false); // Check if link is not clicked so far $result = SQL_QUERY_ESC("SELECT b.points, d.gender, d.surname, d.family, d.status, d.ref_payout @@ -73,7 +73,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1", array($userid, $chk), __FILE__, __LINE__); -//* DEBUG: */ outputHtml("userid=".$userid.",chk=".$chk." (".strlen($chk).'/'.strlen(getRequestElement('check')).'/'.SQL_NUMROWS($result).")
"); +//* DEBUG: */ outputHtml("userid=".$userid.",chk=".$chk." (".strlen($chk).'/'.strlen(getRequestParameter('check')).'/'.SQL_NUMROWS($result).")
"); // Prepare content $content = array();