close

function Pass($i=8) {
    srand((double)microtime()*987654321);
    return strtoupper(substr(md5(uniqid(rand())),rand(0,32-$i),$i));
}
 
$checkcode =  Pass(20); // 丟出8碼

arrow
arrow
    全站熱搜

    incode 發表在 痞客邦 留言(0) 人氣()