摘要:
1 function _code($_code_length = 4, $_width = 75, $_height = 25){ 2 for($i=0;$i<$_code_length;$i++){ 3 $_nmsg .= dechex(mt_rand(0,15)); 4 } 5 $_SESSION["code"] = $_nmsg; 6 7 $_img = imagecreatetruecolor($_width, $_height); 8 9 $_white = imagecolorallocate($_img, 250, 2... 阅读全文