Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <?php
  2. function SanityCheck(){
  3. include 'connect.php';
  4. if (!empty($_POST['password'])){
  5. if (!empty($_POST['email'])){
  6. $email = trim($_POST['email']);
  7. $password = trim($_POST['password']);
  8. connect($email,$password);}
  9. } else {
  10. echo("Please fill in your credentials");
  11. }}
  12. SanityCheck();
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement