It shows me this:
Warning: Cannot modify header information - headers already sent by (output started at /home1/someone/public_html/forum/loginforum.php:15) in /home1/someone/public_html/forum/loginforum.php on line 45
Warning: Cannot modify header information - headers already sent by (output started at /home1/someone/public_html/forum/loginforum.php:15) in /home1/someone/public_html/forum/loginforum.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /home1/someone/public_html/forum/loginforum.php:15) in /home1/someone/public_html/forum/loginforum.php on line 47
script: header( "Location: forum.php" );
I suppose it affects the cookie setting ( setcookie("forumpassword", "$_POST[pass]", time() + 3600); ).
P.S.
It's nice to get a reply in such a short amount of time.