Ga direct naar de hoofdinhoud

HTML proefjes

HTML code (login.html): Please type your Username and Password...

Username:
Password:
You can change the appearance. External JavaScript code (login.js):
Please type your Username and Password...

Username:
Password:
You can change the appearance. External JavaScript code (login.js):
Username:
Password:
Log me on automatically each visit:
.

Club gebruikersnaam Club wachtwoord

"; } //} if (file_exists($root."user/".$username.".txt")) {//1 $fp=fopen($root."user/".$username.".txt","r"); $contents=fread($fp,filesize($root."user/".$username.".txt")); fclose($fp); $info=explode("|",$contents); $username1=$info[0]; $password1=$info[1]; if($password1==$HTTP_SESSION_VARS['password']) {//2


Username:
Wachtwoord:
Gebruikersnaam: Wachtwoord:
alert-box-begin

Zoek paginanaam op fanclubsite

session_name("MyLogin"); session_start(); session_destroy(); if($_GET['login'] == "failed") { print $_GET['cause']; } ?>
Login:
Password:
session_name("MyLogin"); session_start(); if($_GET['action'] == "login") { $conn = mysql_connect("localhost","user","password"); // your MySQL connection data $db = mysql_select_db("DATABASENAME"); //put your database name in here $name = $_POST['user']; $q_user = mysql_query("SELECT * FROM USERS WHERE login='$name'"); if(mysql_num_rows($q_user) == 1) { $query = mysql_query("SELECT * FROM USERS WHERE login='$name'"); $data = mysql_fetch_array($query); if($_POST['pwd'] == $data['password']) { session_register("name"); header("Location: yourpage.php"); // success page. put the URL you want exit; } else { header("Location: login.php?login=failed&cause=".urlencode('Wrong Password')); exit; } } else { header("Location: login.php?login=failed&cause=".urlencode('Invalid User')); exit; } } // if the session is not registered if(session_is_registered("name") == false) { header("Location: login.php"); } ?> require("log.php"); ?> print $_SESSION["name"]; ?>
Login...

Nog geen Member? klik hier

<\form> Security FVT Login Page

Form Login

Enter user ID and password:
User ID Password

And then click this button:

A Form login authentication failure occurred

A Form login authentication failure occurred

Authentication might fail for one of many reasons. Some possibilities include:

  1. The user ID or password might have been entered incorrectly; either misspelled or the wrong case was used.
  2. The user ID or password does not exist, has expired, or has been disabled.
FORM Example Form-Based Authentication Area /login.html /error.jsp META-INF META-INF/MANIFEST.MF login.html error.jsp WEB-INF/ WEB-INF/classes/ WEB-INF/classes/aServlet.class Logout Page

Sample Form Logout



Click this button to log out: