# How do I make it so that only a logged in user can view certain pages?

**URL:** https://forum.kirupa.com/t/how-do-i-make-it-so-that-only-a-logged-in-user-can-view-certain-pages/170556
**Category:** Uncategorized
**Created:** [November 27, 2005, 3:44pm UTC](https://forum.kirupa.com/t/how-do-i-make-it-so-that-only-a-logged-in-user-can-view-certain-pages/170556 "2005-11-27T15:44:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Boerboel649](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@Boerboel649](https://forum.kirupa.com/u/Boerboel649)
#### Post date: [November 27, 2005, 3:44pm UTC](https://forum.kirupa.com/t/how-do-i-make-it-so-that-only-a-logged-in-user-can-view-certain-pages/170556/1 "2005-11-27T15:44:18Z")

</div>

Hi,  
First of all, let me say that I’m a real newbie when it comes to doing more complicated stuff with PHP, and the like. Following this tutorial: [http://www.devarticles.com/c/a/PHP/Creating-a-Membership-System/](http://www.devarticles.com/c/a/PHP/Creating-a-Membership-System/)

How do I make it to where certain pages cannot be viewed unless the person is logged in?  
Thanks!
