<?php require_once('includes/requirelogin.inc.php'); require_once('includes/mailcertify.inc.php'); $email=TGET('email'); $mb_id=current_mb_id(); $DBConn->connect(); $DBConn->begin(true); $count=db_count_member_email($DBConn,$mb_id,$email); if (!$count) { header("Location: ./member.email.setting"); return; } $member=db_load_member($DBConn,$mb_id); mailcertify_send_request_email($DBConn,$mb_id,$member['mb_nickname'],$email); $DBConn->commit(); header("Location: ./member.email.sent.certifymail"); ?>