Page 1 of 1

php security script.

Posted: Tue Feb 22, 2011 1:13 pm
by jpaytoncfd
I am using http://www.scriptsapart.com/products/auth-manager/ this script.

on the locked pages I use this bit of code to unlock.

Code: Select all

<?php
 include("init.php");
 if($sesslife == true)
 {
 
 }
 else
 {
	 
 }
 ?>
I want to check not only that the person is logged in but also its the right person. Is it possable to make it check user name too?

Re: php security script.

Posted: Thu Mar 03, 2011 12:26 pm
by xtiano77
Anything is possible, but it would be more beneficial for all of us if you posted the complete code so we can have a better understanding of where you are at and what can be done to help you.