try this code
if (isset($_COOKIE['username']) && ($_COOKIE['password'])) {
print "Logged in as: ".$_COOKIE['username']. "<br />";
print "<a href=logout.php>log out?</a>";
}
&& ($_COOKIE['password'])
should be
&& isset($_COOKIE['password'])
bye buddy
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --