i have mysql database with username, passwords, etc. people can apply for membership via a form. after they successfully fill up the form they are added to the database. what i want now is this.
1) that their account remain inactive unless admin activates the account.
2) a login script where only ACTIVE members are successfully redirected to main page and other secured pages.
any help how i should start? thanks.