#phpSecurityClass v0.2.2
Php regular expressions (regex) for all html-input tag
-
Copy src/phpSecurityClass.php file on your website
-
Add class after
<body>
:
<?php
include("phpSecurityClass.php");
$security = new phpSecurityClass();
?>
- Choose the appropriate function:
<?php
if($security->name("John Titor")){
echo "Correct Input";
}else{
echo "Error";
}
?>
You can find us on this web source:
WebSite: http://www.ptkdev.it/
Source: https://github.com/PTKDev/
IRC: chat.freenode.net at #ptkdev