Thanks guys.
Do I have to pull it or somthing? I'm lost as to why its not working.
I have it set up pretty well. I had it setup for my admin area, but then I made sorta a portal page that displays the news. so I wanted to make a plugin or block that would have you login it works, but once im logged in it doesn't go away despite the great help you guys gave me.
<?
PLUGINTOP();
if (session_is_registered(uid)==true)
{
echo "Welcome $uid";
exit;
}
?>
<div class="border">
<div class="content">
Please Log In.<br /><br />
<form method="post" action="accesscontrol.php">
<input type="text" name="uid" size="15"> Username<br /><br />
<input type="password" name="pwd" SIZE="15"> Password<br /><br />
<input type="submit" value="Log in">
</form>
</div>
</div>
<?
PLUGINBOTTOM();
?>
That doesnt work. I must be doing somthing wrong if it works for you.