Zubrag.com
September 15, 2019, 10:32:26 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: username detection  (Read 5168 times)
cappinkirk
Newbie
*
Posts: 2


« on: March 14, 2008, 09:59:32 AM »

I would like to have something like this (even on unprotected php pages if possible):

if "anyuser" is logged in
echo "You are logged in as $login"; maybe also show a login link if this condition is met only
else
echo "You are not logged in" (no logout link) or show nothing

is that possible / easy to do with php? what do i need to

THanks!

great script.

Logged
perisa
Newbie
*
Posts: 2


« Reply #1 on: March 17, 2008, 04:27:02 AM »

You have similar thread here>>> http://www.zubrag.com/forum/index.php/topic,318.0.html
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC