Login script for php

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm a VERY basic webmeister for a non-profit group and need to password
protect an area.  How does that work?  Is there some boilerplate script
I can drop in?

Re: Login script for php

If you want to do it tourself you are better off using a database to store  
the username and password. Then use a simple php script that reads that info  
and compares it with what is read from the form. Try using the encryption  
features of php.

The devshed page at  
has a pretty good example of how to do this.

Quoted text here. Click to load it

Re: Login script for php

On or about 8/14/2006 12:56 PM, it came to pass that Binod Pant wrote:
Quoted text here. Click to load it
Those scripts are all well and good, but don't forget the periphery  
that's also assumed to be available:
Script for "root admin" to add, maintain and delete
User signup
Forgot my password
Forgot my userid

not to forget about hackers attempting to break in and do some SQL  

Suggest looking at some PHP classes that have this all built in.

Re: Login script for php

damico@ev1.net wrote:
Quoted text here. Click to load it
I  just did that.  Like you I  am very basic.

Everything I needed was available thru my server which was  EV1.

Site Timeline