0;$i--){
//$str = $str.chr(rand(1000, 9999));
$otp = rand(10000, 99999);
}
$body = 'Your one time password is : '.$otp;
$headers = 'From: '.$from. "\r\n" .
'Reply-To: '.$from. "\r\n";
$mailsend = mail($to, $subject, $body, $headers);
//$otp ='12345';
$_SESSION["alumni_otp_sess"] = $otp;
if(!empty($_SESSION["alumni_otp_sess"]) && $_SESSION["alumni_otp_sess"]!='')
{
echo'
';
}
}
}
?>