SHARE
TWEET

php

a guest May 22nd, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. session_start();
  3. require('database.req.php')
  4. $username = $_POST['user'];
  5. $password = $_POST['pass'];
  6. if (function isLoginValid($username, $password) = true)
  7. {
  8.     $_SESSION['ID'] = $_POST['user'];
  9. }
  10. else
  11. {
  12.     echo 'Eingabe ung├╝ltig'
  13. }
  14. exit();
  15.  
  16. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top