[PHP] Login system

2001-07-12 Thread Kristjan Kanarik
Dear list, I'm sorry to bother (or sorry for being stupid!) , but I've been looking around for some days and can't find what I'd like to have. My knowledge about sessions is literally non-existent and therefore I decided not to start creating a 'bycycle' from scratch. I'm looking forward for an

[PHP] Login System with access levels

2001-03-16 Thread Jordan Elver
Hi, I've got a db with a username and password in it. I can let people log in, like SELECT * FROM table WHERE username = username AND password = password. But how can I add an access level column so that I can have different levels of security. So admin's can read everything, but users can only

Re: [PHP] Login System with access levels

2001-03-16 Thread Pierre-Yves Lemaire
ED]> To: PHP General Mailing List <[EMAIL PROTECTED]>; PHP DB Mailing List <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 7:28 PM Subject: [PHP] Login System with access levels > Hi, > I've got a db with a username and password in it. I can let people log in, > like

Re: [PHP] Login System with access levels

2001-03-16 Thread yavo
"Jordan Elver" <[EMAIL PROTECTED]> wrote in message 01031619280300.01338@localhost">news:01031619280300.01338@localhost... > Hi, > I've got a db with a username and password in it. I can let people log in, > like SELECT * FROM table WHERE username = username AND password = password. How about yo

Re: [PHP] Login System with access levels

2001-03-16 Thread yavo
"Jordan Elver" <[EMAIL PROTECTED]> wrote in message 01031619280300.01338@localhost">news:01031619280300.01338@localhost... > Hi, > I've got a db with a username and password in it. I can let people log in, > like SELECT * FROM table WHERE username = username AND password = password. How ab

Re: [PHP] Login System with access levels

2001-03-17 Thread Jordan Elver
Thanks for all your help. I've settled for an enum field for the time being. I'm going to try something more complex at a later stage. Thanks again, Cheers, Jord -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL