This topic is locked

Login using database

9/20/2005 21:42:40
PHPRunner General questions
author

I need to have users login to a database and view/edit only their own data. The process seems simple enough - on Security tab in PHPRunner, I select Username and password from database. Then I enter the table and the username field and password.
However, when I upload and try to access, I get an "Invalid Login" message. Tried it several times, but can't get it work. Am I missing something? Permissions, perhaps?
Thanks,

501261 9/20/2005

Never mind ... it works fine! The problem was that I was trying to use the Mambo mos_users table. When I set up a separate table it worked the first time.
When I checked the mos_users table, I notice that the passwords were encrypted. When I added in a member using regular passwords, it also worked. So the problem to the login was the encrypted passwords.
Anyone know a work around since I can't use the same user table that is created by Mambo registration because of the encryption of passwords. It would more convenient and less work if I could use only one set of member data.
Thanks.