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