Page 1 of 1

Password Protected Field or Page

Posted: Thu Feb 12, 2009 4:16 pm
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?

Re: Password Protected Field or Page

Posted: Thu Feb 12, 2009 6:47 pm
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.

Re: Password Protected Field or Page

Posted: Thu Feb 12, 2009 7:11 pm
by Timpano
The trouble is I dont know anything about PHP codes or how to do this

Re: Password Protected Field or Page

Posted: Thu Feb 12, 2009 7:39 pm
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: