php模拟post取得jsp查询数据,使用的是curl,出现有关问题,求指教

WBOY
Release: 2016-06-13 12:47:01
Original
1246 people have browsed it

php模拟post取得jsp查询数据,使用的是curl,出现问题,求指教
想通过PHP用curl取得jsp页面查询结果。
正确结果应为(官网直接输入查询得到的):

我自己写的一段代码(利用curl)得到的结果如下:

具体编码:

不知为什么,我测试输入的数据是:发票代码:fpdm1=221011270133 发票流水号:fphm1=06649746

可是我用curl返回的结果与手工从官网上查询到的结果不一样,求高手指点一下,多谢!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!