This is a Login script I made for use with the superb Phorum 3.1.x (http://www.phorum.org).
The script may easily be altered for use without Phorum 3.1.x.
The reason why I did this script was because I needed a way to password protect forums
with different userlevels and also log the users of the forum. The login script is based on the
login example by Hart Graham (http://www.weberdev.com/get_example.php3?count=1553).
The package consists of 5 files:
--------------------------------
login_common.php - uservariables set in this file
login.php - the login script.
check_login.inc - the script that checks if users have access to the page.
login.txt - the log file (must be set to 666).
logout.php - the logout script.