PHP

PHP.net - PHP Manual | PHP.net - Filesystem Functions.

PHPhulp | PHPhulp - tutorials | PHPhulp - scripts.

tizag.com - PHP Tutorial - Learn PHP.

w3schools.com - PHP Functions.


<< PHP manual.


ip-ban - uitvoer

You are not banned.


ip-ban - code

<?php
$banned = array("66.99.77.11");

if(in_array($_SERVER['REMOTE_ADDR'], $banned)) {
    echo "<p><em>You are banned.</em></p>";
} else {
    echo "<p><em>You are <u>not</u> banned.</em></p>";
}
?>