Any Suggestions for an Authentication System ...
Do you have any Links to suggest ?
My current Authentication works ok but it has a major BUG !!!
BUG:
If I use the same Authentication mechanism in Two Different Websites and I
login in one of the two... Then I can change the URL to the other website
and it will log me in as the user of the other Website.
Anyway... I knew when I was writing that is not going to be perfect... but
maybe you can show me the door to getting it fixed.
What I actually do is this simple thing:
if (!isset($_SESSION['user_id'])) echo '<a href="login.php">Login</a>';
YES I know it doesn't even go close to an Authentication Mechanism... But it
does its job for a begginner...
Every page I call has a header.php and a footer.php so I just have to make
the Authentication in the Header...
Suggestions ..............
Thanks Angelos.