php security script.

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
jpaytoncfd
Forum Newbie
Posts: 4
Joined: Tue Feb 15, 2011 10:56 am

php security script.

Post 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?
xtiano77
Forum Commoner
Posts: 72
Joined: Tue Sep 22, 2009 10:53 am
Location: Texas

Re: php security script.

Post 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.
Post Reply