Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!preg_match("/^[a-zA-z ]*$/",$_POST['name']);
- if(!preg_match("/^[0-9]{4}+$/",$_POST['year']);
- $matrixLength = strlen($_POST['matrix']);
- if($matrixLength>12 || $matrixLength<12)
- <?php echo $_SERVER['PHP_SELF'];?>
- $name = filter_var($_POST['name'],FILTER_SANITIZE_STRING);
- else if(!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL))
- SESSION_START();
- $_SESSION['name'] = $name;
- SESSION_END();
- $dob = preg_replace("([^0-9-])", "", $_POST['dob']);
- <link href="css/bootstrap.min.css" rel="stylesheet">
- <script src="js/bootstrap.min.js"></script>
- form-group, form-inline, form-control
- placeholder, required
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement