Advertisement
Guest User

Untitled

a guest
May 30th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. session_start();
  3. require('database.req.php');
  4. $username = $_POST['user'];
  5. $password = $_POST['pass'];
  6. $mail = $_POST['mail'];
  7.  
  8. if (function isUserFree ($username) != false)
  9. {
  10.     function createUser($username, $mail, $password)
  11.     header('home.html');
  12. }
  13. else
  14. {
  15.     exit();
  16. }
  17.  
  18.  
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement