php实现12306火车票余票查询和价格查询
php实现12306火车票余票查询和价格查询
这篇文章主要介绍了使用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",
"阿龙山" => "ASX",
"安陆" => "ALN",
"阿木尔" => "JTX",
"阿南庄" => "AZM",
"安庆西" => "APH",
"鞍山西" => "AXT",
"安塘" => "ATV",
"安亭北" => "ASH",
"阿图什" => "ATR",
"安图" => "ATL",
"安溪" => "AXS",
"博鳌" => "BWQ",
"白壁关" => "BGV",
"蚌埠南" => "BMH",
"巴楚" => "BCR",
"板城" => "BUP",
"北戴河" => "BEP",
"保定" => "BDP",
"宝坻" => "BPP",
"八达岭" => "ILP",
"巴东" => "BNN",
"柏果" => "BGM",
"布海" => "BUT",
"白河东" => "BIY",
"贲红" => "BVC",
"宝华山" => "BWH",
"白河县" => "BEY",
"白芨沟" => "BJJ",
"碧鸡关" => "BJM",
"北