Login   Register  
PHP Classes
elePHPant
Icontem

File: sIPb_SamplePart3.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Uwe Stein  >  sIPb  >  sIPb_SamplePart3.php  >  Download  
File: sIPb_SamplePart3.php
Role: Example script
Content type: text/plain
Description: Target for sIPb_Sample.php
Class: sIPb
Block the IP address of undesired HTTP clients
Author: By
Last change:
Date: 9 years ago
Size: 368 bytes
 

Contents

Class file image Download
<?php
include_once("./sIPb.php");

// create the sIPb-object with automatical rediretion of blocked IPs
$ip = new sIPb(TRUE);
// if this point is reached, the ip is not blocked
?><div align="center">
<h1>sIPb-Test with redirection</h1><br>
now the BLOCK_TIME is over<br><br>
<form >
     <input type="button" value = "Back" onclick="history.back()">
 </form>
</div>