13 lines
223 B
PHP
13 lines
223 B
PHP
<?php
|
|
//How to get visitor ip address
|
|
require 'config.inc.php';
|
|
|
|
foreach($ip_blocked as $ip){
|
|
if($ip == $ip_address){
|
|
die('Your ip address, ' . $ip_address . ' has been blocked');
|
|
}
|
|
}
|
|
|
|
?>
|
|
|
|
<h1>Welcome !</h1>
|