我希望在我的网站上有这个验证码:
我将如何以 php 形式测试结果?这是我目前在 form.php 文件中的代码:
<script type="text/javascript">
$(window).load(function() {
var righthash1 = "cc03412089f87b9c509aaaa1";
$("#hf023d03").sortable({
items: ".cnt", stop: function () {
hash = "";
$("#hf023d03 .cnt").each(function (a, b) { hash += $(b).attr("id"); }); if (hash == righthash1) {
$(".slg1").fadeIn("fast");
} else {
$(".slg1").fadeOut("fast");
}
}
});
});
</script>
<div id="first_cnt">
<h2>Are you a traveline hero?</h2>
<span class="htext">(drag the answer)</span>
<div class="d1" id="hf023d03">
<div class="cnt" id="509aaaa1"><span class="yes">S</span></div>
<div class="cnt" id="89f87b9c"><span class="yes">E</span></div>
<div class="cnt" id="cc034120"><span class="yes">Y</span></div>
</div>
<div class="slg1">
<h3>is the correct answer!</h3>
</div>
</div>