Backing up laptop, committing all unsaved changes

This commit is contained in:
2008-03-09 17:02:16 +00:00
parent 66ca16f8b0
commit 8447c7a41a
6 changed files with 104 additions and 62 deletions

View File

@@ -35,5 +35,15 @@
var_dump($_SESSION);
echo '</pre>';
}
if (isset($_GET['validate'])) {
require_once('code/validation/ivalidator.php');
try {
Validator::check('Value', $_GET['value'], IValidatorFactory::get('Range',5,32));
} catch (ValidationException $e) {
echo $e->getMessage();
}
}
?>