hallo allemaal,
ik heb hulp nodig bij mijn inlogsisteem want ik probeer meerdere inlognamen en wachtwoorden te maken maar dat lukt niet weer een van julie raad?
hieronder staat het stuk script:
ik heb hulp nodig bij mijn inlogsisteem want ik probeer meerdere inlognamen en wachtwoorden te maken maar dat lukt niet weer een van julie raad?
hieronder staat het stuk script:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Nieuwe pagina 1</title>
<script language="javascript">
<!--//
function pasuser(form) {
if (form.id.value=="voorbeeld") {
if (form.pass.value=="voorbeeld") {
location="http://www.voorbeeld.nl"
} else {
alert("Invalid Password")
}
} else { alert("Invalid UserID")
}
}
//-->
</script>
</head>
<body bgcolor="#000000" text="#00FF00" link="#CCFFCC" vlink="#008000">
<center>
<table bgcolor="#FFFFFF" cellpadding="4" border="1">
<tr><td colspan="2" align="center" height="22" width="282"><p><font size="3" color="#000000">Login
Area</font></p></td></tr>
<tr><td align="center" height="24" width="84"><p><font size="3" color="#000000">User ID:</font></p></td><td align="center" height="24" width="170"><form name="login"><font size="3" color="#000000"><input
name="id" type="text"></font></td></tr>
<tr><td align="center" height="24" width="84"><p><font size="3" color="#000000">Password:</font></p></td><td align="center" height="24" width="170"><font size="3" color="#000000"><input name="pass"
type="password"></font></td></tr>
<tr><td align="center" height="1" width="84"><font size="3"><input type="button" value="Login"
onClick="pasuser(this.form)"></font></td><td align="center" height="1" width="170"><font size="3"><br><input
type="Reset"></form></font></td></tr></table></center>
</body>
</html> 