PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Jacek Wloka   PHP IP Block IP Ranges   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: PHP IP Block IP Ranges
Check if the current user IP is with a block range
Author: By
Last change:
Date: 9 years ago
Size: 301 bytes


Class file image Download


$ip4_blocking_classes = new ip4_blocking_classes();
$ip4_blocking_classes->ip4blockingclasses(' -');

$ip4_blocking_classes->ip4blockingclasses(' - '.getenv("REMOTE_ADDR"));

echo getenv("REMOTE_ADDR");