Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

logging in from database

5:35 am on Feb 29, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 6, 2008
posts: 94
votes: 0

I have a php register/login forms, when you register your info gets put into a database. But I want to be able to log in from it, I got it so if you only put in "bob" for username and "1234" for pass, it will work, but I dont know how to make it so you can use the usernames and passwords from a database. Any ideas?
2:19 pm on Feb 29, 2008 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

first, I don't think you should use the exact same form for login and signup, it will confuse your users.

there is an example of user authentication in our library