<?php
/****************************************************************
*Author: Ovidiu EFTIMIE
*Copyright :Ovidiu EFTIMIE
*Last modified:Friday, November 03, 2000 10:49:57 AM
*Description : Test page for paranoia .php
*****************************************************************/
require_once("paranoia.php");
if(isset($HTTP_POST_VARS)&&!empty($HTTP_POST_VARS)){
$par=new paranoia($HTTP_POST_VARS);
if(!empty($par->wrongParams)){
// $par->sendBack();
echo "Incorrect parameters";
}else{
echo "Corect parameters";
}
}
?>
<html>
<head><title>Test page for paranoia</title></head>
<form action="test_paranoia.php" method="POST">
<input type="text" name="test">
<input type="submit" value="Test">
</form>
</html>
|