emailPull($uid); $email = $eresult['email']; $username = $eresult['username']; $v = new Verify; if (isset($uid) && !empty(str_replace(' ', '', $uid)) && isset($verify) && !empty(str_replace(' ', '', $verify))) { //Updates the verify column on user $vresponse = $v->verifyUser($uid, $verify); //Success if ($vresponse == 'true') { $smarty->assign('msg', $activemsg); //Send verification email $m = new MailSender; $m->sendMail($email, $username, $uid, 'Active'); } else { //Echoes error from MySQL $smarty->assign('msg', $vresponse); } } else { //Validation error from empty form variables $smarty->assign('msg', 'An error occurred... click here to go back.'); } require_once 'footer.php'; ```
進階搜尋
78人線上 (24人在瀏覽線上書籍)
會員: 0
訪客: 78