Question Locked

PHP Login System Software?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is anyone aware of any software, whether free or paid for, that can create a website login system using PHP and MySQL?

I'm very new to PHP. My boss needs something ASAP, and although I have just started learning this stuff, I don't have time to fully learn it before the deadline he's set me. I have always found learning from examples a good way of bettering my knowledge.

Basically, I am after a login system whereby I, as the web admin, can setup users in a MySQL database and set a field in the database to a particular number which relates to a particular nav bar include file. For example, setting this field to 1 means that when the user logs in, nav1.php would be included. Setting the field to 2 would mean nav2.php would be included, and so on.

If anyone knows of a product or open source example that's easy to follow that would be great.

5 replies

by thumbsup2

The one I use isn't great, but it works for our purposes.

Individuals can create their own login based on email address (no duplicates) and must activate once created.

Once activated, the login script monitors login attempts (5 maximum then locks them out), then records last login date/time.

The script defaults to giving them user level 1 which is stored in a MySQL database. The Administrator has the ability to change the user level (admin is level 0). The script is easily modified to check for different user levels and produce a navigation menu based on that level, since it does it anyway for the admin.

My script is set to link to a framed web site where the navigation menu (based on user level) is displayed in the left frame and, of course, whatever they're allowed to see is displayed on the right side.

I can't remember now where I found the script though. Maybe www.hotscripts.com or one of the hundreds of other free script downloads. It's named "Members Only" and was downloaded from one of the free PHP script archives located on the web somewhere. It came with plenty of instructions, at least for my level of understanding, so it was easy to customize to match our web site.

Sorry, I just can't remember where I found it though. You might look here, if it helps...

http://www.best-php-scripts.com/

Most are free. Don't pay for one. The free ones are way too easy to find.

This discussion is closed to new replies.