<?php
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("class/captchaZDR.php");
$capt = new captchaZDR;
if ($capt->check_result()) {
include ("html/register_done.php");
} else {
echo 'Your Input is wrong!';
}
} else {
include ("html/register_error.php");
}
?>Not : Denemedim