topical media & game development

talk show tell print

student-twitter-admin-process-login.pro6.php / php



  <?php
          if (isset(_POST["loginname"]) && isset(_POST["password"])) {
                  if (_POST["loginname"] == loginname && _POST["password"] == password) {
                          _SESSION["user"] = _POST["loginname"];
                  } else {
                          error["login"] = "<font class=\"errortext\">Log in gegevens incorrect.</font>";
                  }
          }
  ?>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.