如何防止用户只订阅,然后刷新页面以保持一遍又一遍?我试图在其中放置一个Recaptcha,但是由于某些原因而无法正常工作……是否有任何见解?还可以采取其他措施来防止这种情况吗?
<form action="insert.php" method="post">
<div class="form-row">
<div class="col-12 col-md-9 mb-2 mb-md-0">
<div class="g-reCAPTCHA" data-sitekey="6LdlkjsdflAP-lBcFklj3242jlkG3sm-rr1"></div>
<input type="text" class="form-control form-control-lg" placeholder="Enter your email to subscribe..." name="email">
</div>
<div class="col-12 col-md-3">
<button type="submit" class="btn btn-block btn-lg btn-primary">Sign up!</button>
</div>
</div>
</form>