wallos/includes/inputvalidation.php
2024-02-10 14:17:19 +01:00

11 lines
205 B
PHP

<?php
function validate($value) {
$value = trim($value);
$value = stripslashes($value);
$value = htmlspecialchars($value);
$value = htmlentities($value);
return $value;
}
?>