A very simple PHP script with MySQL backend to store usernames, passwords, and use cookies to protect a member's area.