
- Forum
- Programming Talk
- PHP
- Check User Satus
Check User Satus
This is a discussion on Check User Satus within the PHP forums, part of the Programming Talk category; Hi Friends, How i will check that user is, logged in or not. i want to make it a function ...
-
12-09-2006, 02:03 AM #1
- Join Date
- Feb 2006
- Answers
- 11
Check User Satus
Hi Friends,
How i will check that user is, logged in or not. i want to make it a function and i want to use in each page and after login i want to go in current page.any one please help me.
thanks in advance
srinivas
-
you need to do something like
@start_session();
function login();
{
$_SESSION['loggedinname'] = "Quozty";
}
main page
if (isset($_SESSION['username'])
{
echo" logged in";
}

Reply With Quote





