View Single Post
Old 16.02.2007, 18:28   #32
palace
Архивный участник
 
Join Date: Jul 2006
Posts: 118
Default

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");
palace is offline