Messages are confidential, please provide the password.

Your user name(mick will work, but try yours)

Your password please, then click ("familypics" for now)

 

Explanation What you need

The password is "familypics" without the quotes.You may change this later, if you want.

 

You need to view source of this page(view menu), select all(edit menu), paste into text editor, and save as "password.html"( You can now open it in Dreamwaever) There is a page in the same directory as this "password.html" named "familypics.html". When the client clicks "GO" or presses enter , he will be directed to the page "familypics.html" You can download the source code for "familypics.html" once you have sucessfully reached the page.But be quick, you have only five seconds to view the source. Save this page as "familypics.html". You can rename the familypics.html page, if you change it to secretpage.html, the password becomes "secretpage"
The User Name can be anything you choose, but "Mick" will work for now.

On the familypics page, in the HTML source you will find an" array" of acceptable user names, as follows.
var clients = new Array("mick","ann","matt","sharon");
Note that all names in the array are lower case. The user name that the user puts in the text box can be upper case, lower case or mixed. MIck, miCK,mick are all acceptable. You should customize the array to reflect your acceptable user names. For example
var clients = new Array("tom","dick","harry");
There is no limit to the number of user names, but all must be lower case..

Customized Content Page

For every user, you can supply a custom page. You must create a page named user name here.html, in the example above, you would create "tom.html"," dick.html" &" harry.html". Note- all lower case.These need to be in the same directory. If you don't want this feature, delete the following line of javascript from familypics.html
if(client){'<META http-equiv="refresh" content=\"5;URL='+client+'.html\">');}
This directs the user to customized page after 5 seconds(You can change the "5" in the script to any positive integer)

 

*OPTIONAL

If someone puts in wrong password

 

Under some circumstances you will get a 404 file error, "file not found". You can customize this error warning with your own page by editing your ".htaccess" file on the root of your server(Unix only). It should look something like this:

Options +Includes
AddType text/x-server-parsed-html .html
AddType text/x-server-parsed-html .htm
ErrorDocument 404 /404.html
Edit this in text editor with Unix line feeds( no HTML tags)Then create a page called 404.html with your custom message.When a user gets an error , he will now see your 404.html page.