![]() |
|
|
#20 |
|
Архивный участник
Join Date: Jul 2006
Posts: 118
|
Open index.php
<?php header("Expires: ".gmdate("D, d M Y H:i:s")." GMT"); //----allowed ips--- // localhost some another IP $ip = array("127.0.0.1", "1xx.xx3.1xx.xx3"); if(!in_array($_SERVER["REMOTE_ADDR"], $ip)) { header("location:http://piv.pivpiv.dk/"); exit; } // if you want to show this map to anyone just remove lines 3 to 10 (from first to this commentary) include("./include/config.php"); ------------------------------------ remove lines 3 to 10 ------------------------------------ Open index.php <?php include("./include/config.php"); |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|