php 生成密保卡
生成密保卡 **scode.bmp**[代码片段(1行)]**[PHP]代码**[代码片段(15行)]
scode.bmp
imgs/asCode/28173731_8UBK.bmp
[PHP]代码
function getvcode() { $s = array(); $str = '3456789abcdefghjkmnpqrstuvwxy'; for($k = 65; $k<74; $k++) { for($i = 1; $i<=9; $i++) { $_x=substr(str_shuffle($str), $i, $i+2); $s[chr($k)][$i] = $_x[0].$_x[1]; } } return $s; }
精彩图集
精彩文章