Password protection 3

(The password is: passwdir)




Put this between you HEAD-tags:
<script language="JavaScript" type="text/javascript">
<!--
function pwp()
{
if (document.willy.winfolinx.value != "")
{
window.location=escape(document.willy.winfolinx.value.toLowerCase()) + "/test.html";
document.willy.winfolinx.value = "";
}
}
//-->
</script>
You have to make a under-directory. Your password will be the name of this directory, and the file you will see is the file named "test.htm" (this you can rename). Also make an "INDEX.HTM file" in the same directory so no one can se the file structur and find your password protected file!


Put this between you BODY-tags:
<form method=post action="javascript:tji();" name="willy">
<input type="password" name="winfolinx" size=10>
<input type="submit" value="Go!">
</form>



Free JavaScripts provided
by Winfolinx.com


Back