Expolibre-3-www/htdocs/en/test.php

10 lines
202 B
PHP

<?php $notallow = array("78.231.79.93", "109.190.109.123", "2.5.42.183");
if(in_array($_SERVER['REMOTE_ADDR'], $notallow)) {
header("Location: http://www.expolibre.org/expolibre.html");
exit();
}
?>