header('Content-type:text/html;charset=utf-8');
require_once('bankList.php');
function bankInfo($card,$bankList)
{Š
($card, 0, 8);
if (isset($bankList[$card_8])) {
echo $bankList[$card_8];
return
} ;
if (isset($bankList[$card_6])) {
echo $bankList[$card_6];
return;
5$ [$card_5])) {
echo $bankList[$card_5];
return;
}
$card_4 = substr($card, 0, 4)
$card_4 = substr($card, 0, 4));
$card_4 = substr($card, 0, 4)); echo $bankList[$card_4];
return;
}
echo '卡號訊息暫未錄入';
}
55535555325757272077203772377203723772美元;載網址:http://www .jb51.net/article/65178.htm
以上就介紹了判斷銀行卡號的歸屬,包括了方面的內容,希望對PHP教程有興趣的朋友有幫助。