Ok, It work one time and that was it. I change the line to look like this
if (!defined($cgi->cookie('name'))) {
$msgnew = "Welcome Back, $uname";
} else {
&New_Acc;
}
I'm not getting a 500 internal server error any more, it just won't work. When it doesn't find the cookie name.
It should run a subroutine called. &New_Acc; and well it still thinks theres a cookie there, even when I deleted the cookie from my browser.
Thanks
joe