Login Stuff

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
geoff
Forum Newbie
Posts: 3
Joined: Sat May 17, 2008 12:32 am

Login Stuff

Post by geoff »

Hey I was wondering if anyone knew of any good sites which had simple login page examples. I was also wondering once you login and do all the db queries how you would get other pages in the website to recognise that you are still logged in and that these pages would then if logged in allow stuff to be shown and if not logged in then it wouldn't show you the restricted stuff.
Glycerine
Forum Commoner
Posts: 39
Joined: Wed May 07, 2008 2:11 pm

Re: Login Stuff

Post by Glycerine »

User avatar
N1gel
Forum Commoner
Posts: 95
Joined: Sun Apr 30, 2006 12:01 pm

Re: Login Stuff

Post by N1gel »

In response to knowing if people are logged in on other pages Sessions is the answer.

Have a look at the PHP manual Sessions
Post Reply