added stuff in pair programming session

This commit is contained in:
StockiP
2022-04-29 16:49:07 +02:00
parent c2789efcdc
commit cefac0c252
10 changed files with 179 additions and 16 deletions

10
logic/testinput.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
function testinput($data) {
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}
?>