<?php
require("HF_IDS.class.php");
$ids=HF_IDS::getInstance();
//This method can be used to secure any content. In this example, < will be replaced by <
//Actually, this method will secure the input using mysql_real_escape_string and htmlentities
echo $ids->secureData("a <");
//This method will read "param1" from $_REQUEST and will secure it using $ids->secureData method
echo $ids->readParam("param1");
//This method will read "param1" from $_GET and will secure it using $ids->secureData method
echo $ids->readGET("param1");
//This method will read "param1" from $_POST and will secure it using $ids->secureData method
echo $ids->readPOST("param1");
?>
|