Jump to content

Creating A Login System In Php


Recommended Posts

I have searched the web for ways of creating a log in system for my website. I found millions of different examples. What would you think is one of thea)easiestb)best solutions?So far what I have made on my own:A table with 'id', 'name', 'login' (true/false), 'password', 'email', 'website'.But how can I on every page check whether the user is logged in or not, and after 24 hours, automatically log them out?Any help is greatly appreciated :)Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...