Blame | Last modification | View Log | RSS feed
<?php#揭密資料$post=json_decode(urldecode(base64_decode($_POST["formData"])));#驗證密碼通過if($_SESSION["authenticate.verifyCodeAndFormData.randomCode"]===$post->randomCode){#加上狀態識別碼$post->status="true";#msg$post->msg="send mail successfully";#redirection$post->href="https://www.qbpwcf.org";#refresh$post->refresh="true";}#if end#反之驗證密碼失敗else{$post->status="false";#error$post->error="send mail failed";}#else end#迴應jsonecho json_encode($post);?>