Thank you.
I found a post at
http://www.xavierforum.com/about4238.html, and it was helpfull. So now I am trying to figure out how to have users login twice: once to the main site, and then with another set of usernames and passwords to personalized pages. The first login to the main site works great. However, the second login within the website, which will redirect users to personal pages is giving me problems. I tried creating a second login page like members1.php, and placed a code at the top of the page
<? include("protection.php"); ?>
<?
if (file_exists("$loginname.php"))
include("$loginname.php");
else if (file_exists("$loginuser.php"))
include("$loginuser.php");
else
echo "No user file found! - $loginuser";
?>
I get an error
Warning: Cannot modify header information - headers already sent by (output started at /path/members1.php:3) in /path/codelock.php(3) : eval()'d code(1) : eval()'d code on line 132
Warning: Cannot modify header information - headers already sent by (output started at /path/members1.php:3) in /path/codelock.php(3) : eval()'d code(1) : eval()'d code on line 133
Fatal error: Cannot redeclare fileprotect() (previously declared in /path/codelock.php(3) : eval()'d code(1) : eval()'d code:145) in /path/codelock.php(3) : eval()'d code(1) : eval()'d code on line 145
Please HELP!!!!!!!!!!!!