I think you what to do this instead:
if( isset($_COOKIE["usr"]) )
{
if( $_COOKIE["usr"] != "|" )
{
echo '<table align="right">';
echo '<tr>';
echo '<td><a href="index.php?do=logout">' . _MSGLogout . '</a></td>';
echo '</tr>';
echo '</table>';
}
}
My thinking:
Either the value is going to be set or not, and if it is not set then it can't be equal to "|". You may have wanted && insted of || , but using the nested if statments get's rid of the notice.
So does turning off php errors, but i like to see them so i can fix them in my php scripts.
BTW: so far I LOVE this software package!!!! Rsyslog and phpLogCon what a greate combo, saves me from writing it myself.


