Welcome to WebmasterWorld Guest from 174.129.127.214

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

logging in from database

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

5+ Year Member



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



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
[webmasterworld.com...]