This only strips out illegal characters, no validation is done!
The allowed characters are: a-z A-Z 0-9 " ! # $ % & ' * + - / = ? ^ _ ` { | } ~ @ . [ ]

<?php
$flags 
= array();
$filter FILTER_SANITIZE_EMAIL;
include 
'presentations/slides/input-filter/render-form.php';
include 
'presentations/slides/input-filter/check-data.php';
?>
Output
data: