PHP Classes

File: sIPb_SamplePart3.php

Recommend this page to a friend!
  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: 11 years ago
Size: 368 bytes


Class file image Download

// 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()">