Tutorialstream.com Forum Index
 FAQ   Search   Members   Usergroups   Register   Profile   Log in to check your private messages   Log in 

Log in
Username:    Password:      Log me on automatically each visit    
Log in page

 
Post new topic   Reply to topic    Tutorialstream.com Forum Index -> Web Design
View previous topic :: View next topic  
Author Message
enemeth



Joined: 26 Jan 2007
Posts: 10

PostPosted: Sat Jan 27, 2007 1:50 am    Post subject: Log in page Reply with quote

HI there everyone Wink

i just went through a week of creating a registration page to add customers to a database, all worked well with great help from the admins here !! but now i need to add a log in page to my site for the users who are already members, anyone have any ideas or any tutorials on doing this ?

Thanks,

Elaine
Back to top
View user's profile Send private message
tartan



Joined: 14 Nov 2006
Posts: 18

PostPosted: Sat Jan 27, 2007 9:50 pm    Post subject: Reply with quote

I think you have to create a form with username and password fields, run a query with the values submitted and use cookies maybe
I'm not sure, I never did it...
Back to top
View user's profile Send private message
Fed
Site Admin


Joined: 12 Aug 2005
Posts: 176

PostPosted: Sun Jan 28, 2007 1:17 am    Post subject: Reply with quote

yes
you need a form with a username and password so you can send them to a script that runs a query and check if that user exists, if the password is correct then you can log him in using php sessions or cookies (or both)
you'll probably find a decent tutorial on this out there although this is a really huge topic and can be implemented in several different ways.
I think you might have better looking for tutorials about cookies, sessions and then choose how to authenticate your users
it will require you to spend a decent amount of time, believe me Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Tutorialstream.com Forum Index -> Web Design All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB SEO URLs V2 - Icons by Mark James

Powered by phpBB © 2001, 2005 phpBB Group