php用火狐poster工具模拟post提交的有关问题

WBOY
Release: 2016-06-13 11:50:40
Original
952 people have browsed it

php用火狐poster工具模拟post提交的问题
我用火狐的poster工具模拟post提交。提交的到c.php
c.php的内容为
print_r($_POST);
?>

用火狐的poster工具,在url里面填写以下内容http://a.com/c.php

Content-Type: 设置的是text/html
 提交的参数seckey为123 ,val为123
我按post提交,返回内容为array()

我把c.php修改成以下内容,打印$_GET
print_r($_GET);
?>

我按get提交,返回内容为array('seckey'=>'123','val'=>'123')

请问这是什么问题。为什么POST就提交过去的内容,打印数组为空
------解决方案--------------------
第一步

第二步

第三步

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template