Password Protected Field or Page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Timpano
Forum Newbie
Posts: 5
Joined: Thu Feb 12, 2009 4:11 pm

Password Protected Field or Page

Post by Timpano »

Hi,

We a creating a website for a client and they want a password protected page that you need a password to gain access to the web content.
We do not want it to do it from the CPanel where a drop down window shows up from the toolbar. We already have an allocated area on the homepage where we just have to enter the password and gain access. The web is created in HTML and the code will have to be in PHP. Can anyone assist me with this?
watson516
Forum Contributor
Posts: 198
Joined: Mon Mar 20, 2006 9:19 pm
Location: Hamilton, Ontario

Re: Password Protected Field or Page

Post by watson516 »

What are you having troubles with?

User enters their username and password.
You check the database to see if they are correct.
You allow or deny access.
Timpano
Forum Newbie
Posts: 5
Joined: Thu Feb 12, 2009 4:11 pm

Re: Password Protected Field or Page

Post by Timpano »

The trouble is I dont know anything about PHP codes or how to do this
User avatar
TAViX
Forum Newbie
Posts: 13
Joined: Thu Feb 12, 2009 6:35 pm

Re: Password Protected Field or Page

Post by TAViX »

Timpano wrote:The trouble is I dont know anything about PHP codes or how to do this
If you are using DREAMWEAVER and Developer Toolbar, you can create a registration page using the wizard. If you don't have Developer Toolbox, you can also create a registration page manualy. Just create 2-3 text fields, name, pasword, amin, etc...and remember, :google:
Post Reply