setCallbackUrl('/captcha.php?id=%s'); $captcha->setFont(PLATFORM_PATH . '/Binary/Fonts/FreeSansBold.ttf'); $captcha->setHeight('80'); $captcha->setFontSize('30'); $captcha->setExpiration(3600); $captcha->setTimeout(3600); $captcha->setWordlen(6); // Generate the captcha word $captcha->generate(); $data['captcha'] = $captcha; // Render page render_skin('order.php', $data); ?>