Php uses Firefox poster to simulate post submission problems

Source: Internet
Author: User
Php uses Firefox poster to simulate post submission. I use Firefox poster to simulate post submission. The content submitted to c. phpc. php is & lt ;? Phpprint_r ($ _ POST );? & Gt; use Firefox's poster tool and enter the following content in the url:. comc. phpContent-Type: & nbsp; set texthtml & nbsp; submitted php to simulate post submission using Firefox poster
I used Firefox's poster tool to simulate post submission. Submitted to c. php
C. php content is
Print_r ($ _ POST );
?>

Fill in the following content http://a.com/c.php in the url with Firefox's poster tool

Content-Type: set text/html
The submitted seckey is 123, and the val is 123.
I submitted by post, and the returned content is array ()

I changed c. php to the following content and printed $ _ GET
Print_r ($ _ GET );
?>

I press get to submit and the returned content is array ('seckey' => '000000', 'Val' => '000000 ')

What is the problem. Why does POST submit the previous content, and the print array is empty?
------ Solution --------------------
Step 1

Step 2

Step 3

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.