我有一个验证码脚本
include 'kcaptcha/kcaptcha.php';//this line will produce captcha image//writing the cookie so that we can check on next page
//captcha value save as md5 encryption so that when validating is should make md5 mask to capt
registerLog(hash_array[i]); // to show hash value, just for testing purpose
setCookie( 'cookie_'+i, hash_array[i] );
因此,cookie名称应该是增量顺序,如: cookie1、原因:在文件读取函数中,如果生成3个文件,则i已经设置为3,因为它设置为选择上载