Oh, maybe I should say this too:
You add this code at one page like personal.php or members.php and then all users login at the
same page. That way all users will see diffrent information, but they all have to login at the same page.
You can if you like (and I recommend it strongly) put all your member specific pages in a hidden directory like
/someplacehidden11838393/ and never tell people about this hidden directory. The code will then look something like this:
Code:
<?
if (file_exists("someplacehidden11838393/$loginname.php"))
include("someplacehidden11838393/$loginname.php");
else if (file_exists("someplacehidden11838393/$loginuser.php"))
include("someplacehidden11838393/$loginuser.php");
else
echo "No user file found! - $loginuser";
?>