Archive for June 1st, 2008

Email Activation Security

Sunday, June 1st, 2008

You are using email validation with link and if you have database field like status to activate, inactivate and suspend. www.sitename.com/activation.php?id=$userid Let status 0 means inactivated, 1 means activated and 2 means suspended. You have the code like <? $id=$_GET[‘id’]; $update=”update user set status=’1’”; $qry->queryUpdate($update); ?> If user is suspended and he again type link in address ...