สอบถามเกี่ยวกับโค้ด captcha

พอดีผมอยากทดลอง captcha รูปแบบใหม่ครับ เป็นของ minteye

โค้ดที่ต้องเอาไปแปะในเว็บตามด้านล่างครับ

ไฟล์แรก  

<?php
require_once('adscaptchalib.php');
?>
  

               
ใส่ตามนี้

ต่อไป


$captchaId  = '';   // Set your captcha id here
$publicKey  = '';   // Set your public key here
echo GetCaptcha($captchaId, $publicKey);


เค้าเขียนไว้ให้ใส่ตรงฟอร์ม

ส่วนขั้นตอนสุดท้ายที่เป็ฯปัญหา เค้าให้ใส่ตรง validation process


$captchaId  = '';   // Set your captcha id here
$privateKey = '';   // Set your private key here
$challengeValue = $_POST['adscaptcha_challenge_field'];
$responseValue  = $_POST['adscaptcha_response_field'];
$remoteAddress  = $_SERVER["REMOTE_ADDR"];

if ("true" == ValidateCaptcha($captchaId, $privateKey, $challengeValue, $responseValue, $remoteAddress))
{
    // Corrent answer, continue with your submission process
} else {
    // Wrong answer, you may display a new AdsCaptcha and add an error message
}
                                



ปัญหาคือ   มันมีให้ภาพ captcha ขึ้นให้ทุกอย่าง แต่ว่ามันส่งค่าไปตรวจสอบไม่ได้ว่าถูกหรือไม่   ( อันนี้ผมเอาใส่ไว้ตอนลงทะเบียนครับ)

ในเว็บจริงๆ เค้ามีปุ่ม submit ครับ แต่ผมทำไม่เป็น ต้องแก้ไขตรงไหนดีครับ

เว็บไซต์ตัวอย่าง http://www.minteye.com/products.aspx
ขอบคุณครับ
แสดงความคิดเห็น
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน อ่านเพิ่มเติมได้ที่นี่