View file XCMS_ver_1_0/gbook/captcha/index.php
<?php ####################################################### # [Автор скрипта: ] # # [Роман Гринько aka Nominal] # # [ICQ: 405-623-516] [E-Mail: [email protected]] # ####################################################### include('captcha.php'); foreach ($_REQUEST as $key => $value) { if (preg_match("/^[\w\d]{5,40}$/",$value)) { session_start(); break; } } $captcha = new KCAPTCHA(); $_SESSION['captcha_keystring'] = $captcha->getKeyString(); ?>