<img src="<?php echo site_url(‘home/login/code‘); ?>" onclick= this.src="<?php echo site_url(‘home/login/code‘).‘/‘?>"+Math.random() />
CI 点击图片刷新验证码,布布扣,bubuko.com
CI 点击图片刷新验证码
原文:http://www.cnblogs.com/hgj123/p/3928306.html