Location: PHPKode > scripts > User Input Sanitation > user-input-sanitation/example.php
<?php
$_POST = array('name'=>"Nirmit's", 'value'=>"Sanitation Class");
$_GET = array('URLValue'=>"testin'");
$_REQUEST = array('requestValue'=>'Test"');
$_COOKIE = array('password'=>"'nirmit'spassword");

require 'class.sanitize.php';

echo '<pre>';
echo 'POST Variables : <br>';
print_r($_POST);
echo '<hr>GET Variables : <br>';
print_r($_GET);
echo '<hr>REQUEST Variables : <br>';
print_r($_REQUEST);
echo '<hr>COOKIE Variables : <br>';
print_r($_COOKIE);

?>
Return current item: User Input Sanitation