html login php script


SUBMITTED BY: Thor2607

DATE: Sept. 29, 2016, 3:07 a.m.

FORMAT: HTML

SIZE: 315 Bytes

HITS: 670

  1. if ($_POST["uname"] != null)
  2. {
  3. if ($_POST["psw"] == "login")
  4. {
  5. $_SESSION["login"] = "true";
  6. }
  7. }
  8. if($_SESSION["login"] == "true")
  9. {
  10. include('intern.html');
  11. }
  12. else
  13. {
  14. include('login.html');
  15. }

comments powered by Disqus