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