Home > Backend Development > PHP Tutorial > PHP 兑现爱查快递接口

PHP 兑现爱查快递接口

WBOY
Release: 2016-06-13 13:26:46
Original
1153 people have browsed it

PHP 实现爱查快递接口

连接爱查快递接口的方法

一、首先去爱查快递http://www.ickd.cn/api/reg.html申请KEY,很快的,几分钟就申请下来了。比快递100好多了,服务也好多了。

二、创建表单,提交数据,发送地址为:$url ='http://api.ickd.cn/?com='.$typeCom.'&nu='.$typeNu.'&id='.$key.'&type=html&encode=utf8'; 

只要把表达那的值带进去就行了,就可以提交了。

实现代码为:

example.html

 

 

get.php

总共的书写代码就这些,希望对大家有所帮助,如有问题及时联系qq:523132661.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template