MattUH
28-06-2006, 07:13 PM
Warning: main(/include/session.php): failed to open stream: No such file or directory in /home/th/public_html/home/tester.php on line 2
Warning: main(/include/session.php): failed to open stream: No such file or directory in /home/th/public_html/home/tester.php on line 2
Warning: main(): Failed opening '/include/session.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/th/public_html/home/tester.php on line 2
My Code:
<?
include("/include/session.php");
if(!$session->logged_in){
?>
<span class="page_title"><b><center>No Permission </center></span></b></font><br>
<img border="0" src="images/confused.gif" align="left" width="39" height="108">Sorry,
but you currently do not have permission to view this page,
<p>This may be due to the following reasons:</p>
<ul>
<li>You need to be logged in to view the content</li>
<li>Your account is not activated</li>
<li>This page is currently not available towards public</li>
<li>This page is not viewable unless your Staff</li>
</ul>
<?
}
/* User is logged in */
else{
?>
Hello admins - content will come here after this damn thing works ;]
<?
}
?>
Thanks. :]
Warning: main(/include/session.php): failed to open stream: No such file or directory in /home/th/public_html/home/tester.php on line 2
Warning: main(): Failed opening '/include/session.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/th/public_html/home/tester.php on line 2
My Code:
<?
include("/include/session.php");
if(!$session->logged_in){
?>
<span class="page_title"><b><center>No Permission </center></span></b></font><br>
<img border="0" src="images/confused.gif" align="left" width="39" height="108">Sorry,
but you currently do not have permission to view this page,
<p>This may be due to the following reasons:</p>
<ul>
<li>You need to be logged in to view the content</li>
<li>Your account is not activated</li>
<li>This page is currently not available towards public</li>
<li>This page is not viewable unless your Staff</li>
</ul>
<?
}
/* User is logged in */
else{
?>
Hello admins - content will come here after this damn thing works ;]
<?
}
?>
Thanks. :]