abanana
11-25-2006, 05:18 AM
Hi everyone,
i'm stuck on this the whole night, trying to add an email activation function to my old codes when user register. I can create a activation key and email it to the user, the user then can click the link and activate the new account. my problem is i can not check whether the account is actived or not when user login.
my code is a bit complicated. the login form action="process.php", then the "process.php" will call "session.php", and then "session.php" will call "database.php" to complete the login process.
can you please give me a rough idea how to check the user's activation status?
I can post some codes if you need.
thanks in advance!
i'm stuck on this the whole night, trying to add an email activation function to my old codes when user register. I can create a activation key and email it to the user, the user then can click the link and activate the new account. my problem is i can not check whether the account is actived or not when user login.
my code is a bit complicated. the login form action="process.php", then the "process.php" will call "session.php", and then "session.php" will call "database.php" to complete the login process.
can you please give me a rough idea how to check the user's activation status?
I can post some codes if you need.
thanks in advance!