arkadaşlar elimde söyle bir kod var.
<?
require("backend.php");
$register = $authlib->register($HTTP_POST_VARS['username'], $HTTP_POST_VARS['password'], $HTTP_POST_VARS['password2'], $HTTP_POST_VARS['name'], $HTTP_POST_VARS['email'], $HTTP_POST_VARS['age'], $HTTP_POST_VARS['***'], $HTTP_POST_VARS['school']);
if ($register == 2) {
include("html/register_done.php");
}
else {
include("html/register_error.php");
}
?>birde güvenlik kodu scripti var ikisini birleştirmek istiyorum fakat beceremedim. örnek bir doğrulama kodu var ama nasıl olacak bilmiyorum
<?php
include("class/captchaZDR.php");
$capt = new captchaZDR;
if($capt->check_result())
{
echo 'Your Input is true!';
}
else
{
echo 'Your Input is wrong!';
}
?>yapmak istediğim Your Input is true! dediğinde register_done.php açılsın.
Your Input is wrong! dediğinde register_error.php açılsın. bunu nasıl yapabilirim yardımcı olusursanız sevinirim. Şimdiden teşekkürler.