File: examples/example3.php

Recommend this page to a friend!
  Classes of David Ferreira  >  Rex  >  examples/example3.php  >  Download  
File: examples/example3.php
Role: Example script
Content type: text/plain
Description: Example script on how to use Rex class
Class: Rex
Check proxy addresses and filter Javascript
Author: By
Last change:
Date: 12 years ago
Size: 292 bytes



Class file image Download
// example3 php showing Rex class in action

// ...
require ("rex.class.php");
$rex = new rex();

// Can only filter arrays ($_GET | $_POST)
$a = $rex->filtraxss($_GET);
if (
$a == true)
"XSS vulnerable";
} else
"Not vulnerable to XSS";
// ...

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