View Single Post
Old 02-13-2008, 06:43 PM   #1 (permalink)
StevenF
The Contributor
 
Join Date: Jan 2008
Posts: 87
Thanks: 49
StevenF is on a distinguished road
Default First Login Script

Hello,

I've created a little project for myself to improve my PHP. I've decided to create a website which uses a login script. I need to allow new users to register and existing users to login.

So far I have the register page working: It's a form with a Username, email and password field and the details entered are entered into the database.

I'm unsure how to do the login page I need to do something like:
  • Search database for matching username
  • Search database for matching password
  • If both of the above match, then login and go to <insert page>

I don't really know how to do this. I was wondering if someone could point me in the right direction?

Thanks,
Steven
__________________
My Personal and Photo Blog
StevenF is offline  
Reply With Quote