PHP Classes

File: example.configscript.php

Recommend this page to a friend!
  Classes of Petter Kjelkenes   Firewall Protection   example.configscript.php   Download  
File: example.configscript.php
Role: Example script
Content type: text/plain
Description: Config loaded firewall example!
Class: Firewall Protection
Restrict the access to pages based on IP address
Author: By
Last change: -
Date: 13 years ago
Size: 347 bytes


Class file image Download

include 'Firewall.php';

// Start firewall.
$firewall = new Firewall('firewallconfig.xml');


// When finished setting settings you will need to run the firewall with the run() method.

Exception $e){
"You are not allowed at this place.");