Forum Moderators: coopster

Message Too Old, No Replies

Login & PW using PHP/MySQL

There has to be an easier way than what I am find!

         

Knowles

6:40 pm on Aug 18, 2002 (gmt 0)

10+ Year Member



Ok I have been looking all day. I want a simple user log in much like the on used here at WebmasterWorld. The only thing I am finding is scripts with 5 pages of stuff that I dont need! Anyone know a good tutorial for this?

Mardi_Gras

8:03 pm on Aug 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I know Hotscripts lists 80 "User Authentication" PHP scripts. Decriptions sound like what you're looking for. Perhaps someone else can recommend a specific script...

Knowles

8:19 pm on Aug 18, 2002 (gmt 0)

10+ Year Member



Mardi_Gras that is where I have been looking. Everything I have tried so far is massive scripts there has to be a simplier script that I can just added into my app I am making.

jatar_k

9:51 pm on Aug 18, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



what exactly do you want it to do knowles? Just actually log them in and cookie them or store some info in a db.

It isn't too tough, just tell me what exactly you need it to do. Then maybe I can give you a little more info.

Knowles

10:31 pm on Aug 18, 2002 (gmt 0)

10+ Year Member



Ill end up needing 3 levels of access but basiacly right now I need 2. One for a customer and one for an admin. Once I finish the app I wont change it and the updating will be done by someone else.

ukgimp

9:15 am on Aug 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have been looking into this recently. The method I was considering required 2 levels as far as the web side was considered but in reality you needed 3 (3rd level is really the DB admin/creator) as you would need to assign different admin levels. So for me it was:

"UserInfo"
PK
Name
etc
FK

"AccessLevel"
PK
Level (1, db admin ¦ 2, admin ¦ 3, user)

Then you would filter the access rights acording to thier level.

Not a comprehinsive answer but I hope it helps a little. Also by assiging three levels of web admin you will reduce the amount of times the client may come back to you with, "can you add 30 more users?"

Cheers