PDA

View Full Version : Building the Registration Page. How to block (+)


kin
06.10.2006, 14:32
the users. I mean when someone registers on the server, I enter the detailes to the database and send the e-mail. When user presses the link in the e-mail he (or she) confirms the registration. The question is:
Is there any field in database, to prevent logging in while not confirmed?

FidoW
06.10.2006, 14:35
in lin2db
table user_account

You have some flags in that table... but i think the best for that is "pay_stat"

pay_stat = 0 ... cant login
pay_stat = 1 ... yes...

kin
06.10.2006, 14:37
Will try! Thanks.