. */ $config = parse_ini_file('../../private/config.ini'); if (TRUE) { session_start(); $captchacode = rand(10000, 99999); $_SESSION['captchacode'] = $captchacode; $captcha = shell_exec('sh ../../private/captcha.sh ' . $captchacode); header('Content-type: image/png'); echo $captcha; exit; } else { header("Location: ../index.php"); } ?>