[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Funds page (again)



> That used to be me. What exactly did you need? Maybe I can still help.

i needed to verify that the user accessing the page is an admin, so that i can
display delete, add and modify-functionality. in admin.php you use this
if-clause:

if(isset($_SESSION[type]) && $_SESSION[type] == 'c')

can i rely on this?? Simply asking this will assure, that an admin is accessing
the file?? If not, what will? That would be fine for starters.

thnx.
Salam.

Omar