How do I make a password protected page?

liunx

Guest
I'm new to designing web pages and I was wondering if anyone could show me how to make a type of login box to access a password protected page. I also need to know how to make the page not accessible by simple typing the URL in the address bar.<br /><br />This is probably simple for everyone here but any help would be appreciated.<!--content-->
ya, I have been wondering this too... maybe someone could write a tutorial???<!--content-->
My hosting site says that I have to pay for that feature. I imagine you could find some java script lieing around though.<!--content-->
If you wanted to code it yourself, have a look at php and sessions. You've a bit of a learning curve though.<br /><!--content-->
There are many pre-written scripts that will handle all this for you, a good list is at <!-- m --><a class="postlink" href="http://www.hotscripts.com/PHP/Scripts_and_...tion/index.html">http://www.hotscripts.com/PHP/Scripts_a ... index.html</a><!-- m --><!--content-->
<!--quoteo(post=19602:date=Dec 16 2007, 22:11:name=Snow)--><div class='quotetop'>QUOTE(Snow @ Dec 16 2007, 22:11) <img src='http://www.webdesignerforum.co.uk/style_images/1/post_snapback.gif' alt='*' border='0' /></div><div class='quotemain'><!--quotec-->My hosting site says that I have to pay for that feature. I imagine you could find some java script lieing around though.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Javascript would be no good for that such thing. Javascript executes target="_blank">3ix.org<!--content-->
It can be done from scratch creating htacess files but the simplest option is to use the host's Password Protect folder option via their Control panel - Most decent paid-for hosts provide this.<br /><br /><br /><!--content-->
 
Back
Top