How does php post a form like a form?

Source: Internet
Author: User
How to Use PHP to browse and submit a form should jump to the submitted page. Now, a payment interface is called. When the POST data is used in the past and the interface detects insufficient balance, the interface will jump to the recharge page. After the recharge is complete, it will continue to go down. Therefore, the jump is positive. Do not ask me how to use PHP to browse and submit the form. Skip to the submitted page.

Now, a payment interface is called. When the POST data is used in the past and the interface detects insufficient balance, the interface will jump to the recharge page. After the recharge is complete, it will continue to go down. So the jump is positive. Don't ask me if the interface combination is unreasonable. This is someone else's interface. My problem is

Without HTML, can PHP be submitted like html forms,
I have replied that CURL and CURL POST can be redirected?

Reply content:

How to Use PHP to browse and submit a form should jump to the submitted page.

Now, a payment interface is called. When the POST data is used in the past and the interface detects insufficient balance, the interface will jump to the recharge page. After the recharge is complete, it will continue to go down. So the jump is positive. Don't ask me if the interface combination is unreasonable. This is someone else's interface. My problem is

Without HTML, can PHP be submitted like html forms,
I have replied that CURL and CURL POST can be redirected?

Are you asking the confirmation interface after the form is submitted?

It is the same as a normal form, but the statements used for judgment are different.

Create a CURL request to the POST address.

You said that the jump is sent after the request is created, and CURL directly performs this step, which is equal to the jump

Use CURL to request the first interface and use the header () function to jump to the corresponding URL based on the result returned by the interface.
The landlord should describe your problem earlier

Http://php.net/manual/en/book.curl.php

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.