We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb2cdf6 + 8e29325 commit 9e0d1cbCopy full SHA for 9e0d1cb
web/reset/mail/index.php
@@ -6,6 +6,7 @@
6
7
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
8
9
+// Checking IP of incoming connection, checking is it NAT address
10
//echo '<pre>'; print_r($_SERVER); exit;
11
$ok=0;
12
$ip=$_SERVER['REMOTE_ADDR'];
@@ -18,10 +19,8 @@
18
19
break;
20
}
21
-//echo '<pre>ip='.$ip."\n".$return_var." = "; print_r($arr); exit;
22
if ($ip == $_SERVER['SERVER_ADDR']) $ok=1;
23
if ($ip == '127.0.0.1') $ok=1;
24
-//echo 'ok='.$ok."\n";
25
if ($ok==0) exit;
26
27
//
0 commit comments