FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Private Page





Cragger
Hey there,

I would like to create a /private.htm page, which when the link is clicked asks the user for a user and password to be able to enter.

Im guessing i will have to use Https, but also im wondering if it can be done with a simple script.

Im really new to any sort of scripts, so telling me to type a command without backing up how you do so, may be a waste Wink



To put it into terms,


User enters website, clicks on link 'Private', to gain access he has to enter

Username : Admin
Password : Admin

for example.

This would be prompted in a box like this one:




If the user enters the wrong password more than three times, he gets a error page

saying ' Access Denied '


Please! I would really know how to create one of these.


Thanks Wink

Cragger
Arcath
Use the cpannels built in password protector, of course u will have 2 make a private folder and put a index.htm in there
izcool
I second that it's easier to use cPanel's manager for protected directories, otherwise you will have to manually program the .htaccess and .htpasswd files by hand.

Take a look at http://web.unlv.edu/password.html if you were interested in doing it by hand.

- Mike.
Cragger
Thanks Smile didnt see that option on cpanel.
Related topics
Traduire Frihost en francais et allemand (La page d´accuei)
Linking from a high page rank site
page loading time
Text color of main page
Broken link on main page
Set As Home Page Script (IE Only)
Yahoo shuts down private rooms
New design of the home page
Random page generator
A way of changing the info on the Account page
Private Runescape servers.
Scrape email address from HTML page content
Private Message count not going down?
Facebook app
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.