![]() Preserved Topic: user authentication (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: under the bed |
![]() I need a little direction. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() .htaccess is simple and reliable. Plus, it presents the user with a log-in dialog that they might have seen before, so there's no confusion on their part. |
Maniac (V) Inmate From: under the bed |
![]() I'm not overly concerned with security - we're not dealing with credit card information, or anything sensitive like that. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Username of currently logged user is stored in "REMOTE_USER" server environmental variable. For example, in PHP you can do the following: |
Maniac (V) Inmate From: under the bed |
![]() Thanks Max =) |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() on a side note, you shouldn't store the passwords on the server. |
Maniac (V) Inmate From: under the bed |
![]() The passwords are currently store in a .htpasswd file. Someone suggested that would be the way to do it |