Subject: | password to access next page |
Posted by: | Scott (altglyphi…@yahoo.com) |
Date: | Tue, 12 Feb 2008 |
I have this web page, right now they have to enter a password to move on to
the next page.
My problem is that the actual password is in the "view source" code.
How can I get the page to read the password without showing the password at
the same time?
-
-
Here is my code:
-
<html>
<head>
</head>
<body background=Image3.gif>
<H2>To access the OrderForm - Please enter your password</H2>
<br>
<b>System Password:</b>
<input type=password name=zzzWord size=33>
<input type=button value="Enter" onclick="Eva()">
<script language="JavaScript">
function Eva()
{
if (zzzWord.value !=""&& zzzWord.value !=null)
{
if (zzzWord.value=="THISISTHEPASSWORD")
{
document.location.href='cart1.html'
}
else
{
alert('Access Denied')
}
}
}
</script>
<br>
<H3>Orders Must Be Submitted By Property Managers or Property
Administrators</H3>
</body>
</html>