]> git.mxchange.org Git - mailer.git/blobdiff - doubler.php
For these IP locks, the real IP address is required, not any anonymized
[mailer.git] / doubler.php
index 04fb0d6a93596483fef630d8c6a0075c552dfda8..8815109d2a489b3372965fe4a2e6a1ae27d06d6a 100644 (file)
@@ -104,7 +104,7 @@ if (isFormSent()) {
                                                getUserData('userid'),
                                                convertZeroToNull(determineReferralId()),
                                                bigintval(postRequestElement('points') * 2),
-                                               detectRemoteAddr()
+                                               determineRealRemoteAddress()
                                        ), __FILE__, __LINE__);
 
                                // Subtract entered points and ignore return status
@@ -122,7 +122,7 @@ if (isFormSent()) {
                                                array(
                                                        convertZeroToNull(determineReferralId()),
                                                        (postRequestElement('points') * 2 * getDoublerRef() / 100),
-                                                       detectRemoteAddr()
+                                                       determineRealRemoteAddress()
                                                ), __FILE__, __LINE__);
 
                                        // And that's why we don't want to you more than one referral level of doubler-points. ^^^