Php simulates post to obtain jsp query data. it uses curl. if any problem occurs, please advise.

Source: Internet
Author: User
Php simulates post to obtain jsp query data. it uses curl. if there is a problem, please advise to use PHP to use curl to obtain jsp page query results. The correct result should be (entered directly on the official website for query): the result of a piece of code I wrote (using curl) is as follows: Code: I do not know why, the data I entered in the test is: invoice code: fpdm1 = 221011270133 & nbs php simulates post to obtain jsp query data, using curl. if there is a problem, please advise
You can use PHP to use curl to obtain the jsp page query result.
The correct result should be (entered for query on the official website ):

The result of a piece of code I wrote (using curl) is as follows:

Code:

Somehow, the data I entered in the test is: invoice code: fpdm1 = 221011270133 invoice Serial Number: fphm1 = 06649746

However, the results returned by using curl are different from those found on the official website. please give me some advice. thank you! Share:
------ Solution --------------------
Didn't he log on? Also install controls
Can you access it without logging in?
------ Solution --------------------
Khan, how can I ask if I want to log on?

"An error occurred in the online tax return system. close your browser and log on again later !"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.