homepage Welcome to WebmasterWorld Guest from 54.227.41.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
logging in from database
tr8er8




msg:3587803
 5:35 am on Feb 29, 2008 (gmt 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?

 

jatar_k




msg:3587998
 2:19 pm on Feb 29, 2008 (gmt 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
[webmasterworld.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved