REMOTE_ADDR permit: +192.168.90.12
[nethome.git] / public_html / cgi-bin / postget.php
index 244f682..cb76852 100644 (file)
@@ -6,7 +6,7 @@
 
        foreach ($HTTP_GET_VARS as $key=>$val) {
                if (ereg("^_priv_(postget.*)\$",$val,$matched)) {
-                       $permit=array("127.0.0.1"=>1,"192.168.192.1"=>1,"192.168.90.11"=>1);
+                       $permit=array("127.0.0.1"=>1,"192.168.192.1"=>1,"192.168.90.11"=>1,"192.168.90.12"=>1);
                        if (!$permit[$HTTP_SERVER_VARS["REMOTE_ADDR"]])
                                print("Forbidden:"
                                                ." REMOTE_ADDR=".htmlspecialchars($HTTP_SERVER_VARS["REMOTE_ADDR"])