Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function SanityCheck(){
- include 'connect.php';
- if (!empty($_POST['password'])){
- if (!empty($_POST['email'])){
- $email = trim($_POST['email']);
- $password = trim($_POST['password']);
- connect($email,$password);}
- } else {
- echo("Please fill in your credentials");
- }}
- SanityCheck();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement