Advertisement
Guest User

Untitled

a guest
Jan 29th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. <?php
  2. session_start();
  3. ?>
  4. <form action="home.php" method="post">
  5. <input type="password" name="u_pass" class="form-control input" style="width:300px;" placeholder="Введіть пароль" required>
  6. <input type="email" name="u_email" class="form-control input" style="width:300px;" placeholder="Введіть email" required>
  7. <input type="submit" value="Увійти">
  8. <?php
  9. $email = $_POST['u_email'];
  10. $_SESSION['u_email'] = $email;
  11. ?>
  12. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement