This is a discussion on Login Script Help! within the PHP General forums, part of the PHP Programming Forums category; Hi There, I'm currently in the process of creating a php based Website for a local Scout Group. On ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi There,
I'm currently in the process of creating a php based Website for a local Scout Group. On the site there will be a log in area which will require users to enter a username & Password, plus they will need to enter a passcode to access the site. The people i am designing the site for want the site to have the passcode in order to help keep the site secure. The passcode would ideally be changable by admin users only and can be changed ona regular basis if and when needed... Does anyone know how this could be done? The usernames and passwords would be unique to each individual member however they will be given the passcode for the said month by the group themselves, this is to try and stop unauthorised people accessing the members area. As this site is going to be used by children from as young as 7 obviously security is important. So if anyone has any ideas how to integrate a passcode into the site, that is easy to manage and maintain... please let me know. Cheers :) Alan ps. If there are any people out there who are great with PHP and would be kind enough to help out with a few other bits please let me know. As i am a complete beginner in PHP. |
|
|||
|
Hi,
Personally I would use a simple database table with a few fields to keep the user data. If you have never used php with mysql before, it is really simple. there are dozens of tutorials and php.net site is definately the best place to look up functions etc. Check http://www.phpfreaks.com/tutorials/40/0.php , I think you will find that tutorial quite useful :) Regards Cat. |
|
|||
|
Dear Alan;
As you are creating web site for very young users, And you want the Passcode for security you can use dynamically generated Emails to send your passcodes to the young users with the their effective date. And can store this effective date and passcode in the Database. if the user forgets his/her password then you can validate him/her and send the email with passcode and effective date. |