PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Ewg  >  Security System  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Security System
Search for files that may present security risks
Author: By
Last change: Update
Date: 13 years ago
Size: 402 bytes


Class file image Download
require 'security.class.php';

$start = microtime(true);

$dir = dirname ( __FILE__ );
$security = new Security ($dir);
$security-> mail_alert (''); // Optional.
$security-> search ('iframe', 'base64_decode');
$security-> search ('base64_encode', 'eval');
$risky_files = $security-> scan ();
var_dump ($risky_files);

'<br>Generation time: '.(microtime(true)-$start);

For more information send a message to info at phpclasses dot org.