<?php
// 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)
{
echo "XSS vulnerable";
} else
{
echo "Not vulnerable to XSS";
}
// ...
?>
|