พอดีผมอยากทดลอง captcha รูปแบบใหม่ครับ เป็นของ minteye
โค้ดที่ได้รับมีดังนี้
ไฟล์แรก
<?php
require_once('adscaptchalib.php');
?>
ใส่ตามนี้
ต่อไป
$captchaId = ''; // Set your captcha id here
$publicKey = ''; // Set your public key here
echo GetCaptcha($captchaId, $publicKey);
เค้าเขียนไว้ให้ใส่ตรงฟอร์ม
ส่วนขั้นตอนสุดท้ายที่เป็ฯปัญหา เค้าให้ใส่ตรง validated
$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 
มีใครรู้บ้างว่าต้องเขียนแบบไหนให้มันตรวจสอบ captcha อ่ะครับ เพราะตอนนี้มันแสดงภาพทุกอย่างแล้ว เหลือแค่ขั้นตอนตรวจสอบอย่างเดียว
ขอบคุณครับ