06-24-2008, 11:25 AM
|
#2 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
|
Just create a function (like isLoggedIn()) returning true or false. In that function check the session and maybe some more proof to be 100% sertain the user is logged in.
Something like this will be the result:
PHP Code:
<?php
if(isLoggedIn()) {
// Parse form
} else {
echo 'Not logged in';
}
?>
How this helps a bit :)
__________________
Nunchaku! Who doesn't like martial arts? =)
|
|
|