這篇文章主要介紹了使用php實現的12306火車票余票查詢和價格查詢功能,大家參考使用吧
name.php 代碼如下: <?php return array( "北京北" => "VAP", "北京東" => "BOP", "北京" => "BJP", "北京南" => "VNP", "北京西" => "BXP", "重慶北" => "CUW", "重慶" => "CQW", "重慶南" => "CRW", "長春" => "CCT", "長春南" => "CET", "長春西" => "CRT", "成都東" => "ICW", "成都南" => "CNW", "成都" => "CDW", "長沙" => "CSQ", "長沙南" => "CWQ", "阿爾山" => "ART", "安康" => "AKY", "阿克蘇" => "ASR", "阿裡河" => "AHX", "阿拉山口" => "AKR", "安平" => "APT", "安慶" => "AQH", "安順" => "ASW", "鞍山" => "AST", "安陽" => "AYF", "北安" => "BAB", "蚌埠" => "BBH", "白城" => "BCT", "北海" => "BHZ", "白河" => "BEL", "白澗" => "BAP", "寶雞" => "BJY", "濱江" => "BJB", "博克圖" => "BKX", "百色" => "BIZ", "白山市" => "HJL", "北台" => "BTT", "包頭東" => "BDC", "包頭" => "BTC", "北屯市" => "BXR", "本溪" => "BXT", "白雲鄂博" => "BEC", "白銀西" => "BXJ", "亳州" => "BZH", "赤壁" => "CBN", "常德" => "VGQ", "承德" => "CDP", "長甸" => "CDT", "赤峰" => "CFD", "茶陵" => "CDG", "蒼南" => "CEH", "昌平" => "CPP", "崇仁" => "CRG", "昌圖" => "CTT", "長汀鎮" => "CDB", "崇信" => "CIJ", "曹縣" => "CXK", "楚雄" => "COM", "陳相屯" => "CXT", "長治北" => "CBF", "長征" => "CZJ", "池州" => "IYH", "常州" => "CZH", "郴州" => "CZQ", "長治" => "CZF", "滄州" => "COP", "崇左" => "CZZ", "大安北" => "RNT", "大成" => "DCT", "丹東" => "DUT", "東方紅" => "DFB", "東莞東" => "DMQ", "大虎山" => "DHD", "敦煌" => "DHJ", "敦化" => "DHL", "德惠" => "DHT", "東京城" => "DJB", "大澗" => "DFP", "都江堰" => "DDW", "大連北" => "DFT", "大理" => "DKM", "大連" => "DLT", "定南" => "DNG", "大慶" => "DZX", "東勝" => "DOC", "大石橋" => "DQT", "大同" => "DTV", "東營" => "DPK", "大楊樹" => "DUX", "都勻" => "RYW", "鄧州" => "DOF", "達州" => "RXW", "德州" => "DZP", "額濟納" => "EJC", "二連" => "RLC", "恩施" => "ESN", "昂昂溪" => "AAX", "阿城" => "ACB", "安達" => "ADX", "安定" => "ADP", "安廣" => "AGT", "艾河" => "AHP", "安化" => "PKQ", "艾家村" => "AJJ", "鳌江" => "ARH", "安家" => "AJB", "阿金" => "AJD", "阿克陶" => "AER", "安口窯" => "AYY", "敖力布告" => "ALD", "安龍" => "AUZ", "阿龍山"