members area only ???

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
Seraphimk
Forum Newbie
Posts: 22
Joined: Mon Feb 09, 2009 12:49 pm

members area only ???

Post by Seraphimk »

i have created a login.php and a register.php but i was wandering how do i make parts of my website only accessible to members such as a members area i'm just stuck anyone got any ideas??
watson516
Forum Contributor
Posts: 198
Joined: Mon Mar 20, 2006 9:19 pm
Location: Hamilton, Ontario

Re: members area only ???

Post by watson516 »

Seraphimk wrote:i have created a login.php and a register.php but i was wandering how do i make parts of my website only accessible to members such as a members area i'm just stuck anyone got any ideas??
One possibility is to use sessions and check on each page.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: members area only ???

Post by Luke »

Seraphimk, please only post questions in one category. You do not need to post it in several... in fact you are less likely to get help if you do.
User avatar
Skoalbasher
Forum Contributor
Posts: 147
Joined: Thu Feb 07, 2008 8:09 pm

Re: members area only ???

Post by Skoalbasher »

Look up $_SESSION or cookies.
Post Reply