<?php session_start(); if ((!$_SESSION['loggedin']) || ($_SESSION['loggedin'] == 0)) { print "You're not logged in..!"; } ?>