Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/281.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 双重获取发送数据_Php_Html_Get - Fatal编程技术网

Php 双重获取发送数据

Php 双重获取发送数据,php,html,get,Php,Html,Get,在此页面中:page.php?id=value 我有以下html代码: <form action="" method="get"> <input type="text" name="key" /> <input type="submit" name="send /> </form> 在下一页的表格中填写所需内容: <form action="page.php" method="get"> <input type="text"

在此页面中:
page.php?id=value

我有以下html代码:

<form action="" method="get">
<input type="text" name="key" />
<input type="submit" name="send />
</form>


在下一页的表格中填写所需内容:

<form action="page.php" method="get">
 <input type="text" name="id" value="<?php echo $_REQUEST['id'];?>" />
 <input type="text" name="key" />
 <input type="submit" name="send />
</form>


在下一页的表格中填写所需内容:

<form action="page.php" method="get">
 <input type="text" name="id" value="<?php echo $_REQUEST['id'];?>" />
 <input type="text" name="key" />
 <input type="submit" name="send />
</form>


在下一页的表格中填写所需内容:

<form action="page.php" method="get">
 <input type="text" name="id" value="<?php echo $_REQUEST['id'];?>" />
 <input type="text" name="key" />
 <input type="submit" name="send />
</form>


在下一页的表格中填写所需内容:

<form action="page.php" method="get">
 <input type="text" name="id" value="<?php echo $_REQUEST['id'];?>" />
 <input type="text" name="key" />
 <input type="submit" name="send />
</form>


您需要将表单的操作设置为要提交到的页面。如果为空,则仅提交到同一页面

<form action="page.php?id=value&key=value" method="get">
<input type="text" name="key" />
<input type="submit" name="send />
</form>


您需要将表单的操作设置为要提交到的页面。如果为空,则仅提交到同一页面

<form action="page.php?id=value&key=value" method="get">
<input type="text" name="key" />
<input type="submit" name="send />
</form>


您需要将表单的操作设置为要提交到的页面。如果为空,则仅提交到同一页面

<form action="page.php?id=value&key=value" method="get">
<input type="text" name="key" />
<input type="submit" name="send />
</form>


您需要将表单的操作设置为要提交到的页面。如果为空,则仅提交到同一页面

<form action="page.php?id=value&key=value" method="get">
<input type="text" name="key" />
<input type="submit" name="send />
</form>


您可以将id作为表单中的隐藏输入

<form action="" method="get">
   <input type="hidden" value="<?php echo $my_id; /*Suppose this variable contain your value */  ?>" name="id" />
   <input type="text" name="key" />
   <input type="submit" name="send" />
</form>


您可以将id作为表单中的隐藏输入

<form action="" method="get">
   <input type="hidden" value="<?php echo $my_id; /*Suppose this variable contain your value */  ?>" name="id" />
   <input type="text" name="key" />
   <input type="submit" name="send" />
</form>


您可以将id作为表单中的隐藏输入

<form action="" method="get">
   <input type="hidden" value="<?php echo $my_id; /*Suppose this variable contain your value */  ?>" name="id" />
   <input type="text" name="key" />
   <input type="submit" name="send" />
</form>


您可以将id作为表单中的隐藏输入

<form action="" method="get">
   <input type="hidden" value="<?php echo $my_id; /*Suppose this variable contain your value */  ?>" name="id" />
   <input type="text" name="key" />
   <input type="submit" name="send" />
</form>

简单地说

<form action="page.php" method="get">
    <input type="hidden" name="id" value="<?php echo $value ?>">
    <input type="text" name="key" />
    <input type="submit" name="send" />
</form>

简单地说

<form action="page.php" method="get">
    <input type="hidden" name="id" value="<?php echo $value ?>">
    <input type="text" name="key" />
    <input type="submit" name="send" />
</form>

简单地说

<form action="page.php" method="get">
    <input type="hidden" name="id" value="<?php echo $value ?>">
    <input type="text" name="key" />
    <input type="submit" name="send" />
</form>

简单地说

<form action="page.php" method="get">
    <input type="hidden" name="id" value="<?php echo $value ?>">
    <input type="text" name="key" />
    <input type="submit" name="send" />
</form>



SQL注入在这里不是问题,但您能修复XSS漏洞吗?:)这是一个搜索系统,我控制,所以你的;)SQL注入在这里不是问题,但您能修复XSS漏洞吗?:)这是一个搜索系统,我控制,所以你的;)SQL注入在这里不是问题,但您能修复XSS漏洞吗?:)这是一个搜索系统,我控制,所以你的;)SQL注入在这里不是问题,但您能修复XSS漏洞吗?:)这是一个搜索系统,我控制,所以你的;)Insight=>-“这是搜索系统”Insight=>-“这是搜索系统”Insight=>-“这是搜索系统”Insight=>-“这是搜索系统”第二个不起作用。从表单输入创建新查询字符串时,操作中的查询字符串被重写。您在
name=“send
之后错过了一个
,第二个不起作用。从表单输入创建新查询字符串时,操作中的查询字符串被重写。您在
name=“send
之后错过了一个
,第二个不起作用。从表单输入创建新查询字符串时,操作中的查询字符串被重写。您在
name=“send
之后错过了一个
,第二个不起作用。从表单输入创建新查询字符串时,操作中的查询字符串被重写。你在
name=”之后错过了一个
”发送
我不认为op想要的id是字面上的
'value'
我不认为op想要的id是字面上的
'value'
我不认为op想要的id是字面上的
'value'
我不认为op想要的id是字面上的
'value'
@bhaveshgangan实际上是的,你可以。这是非常可能的,也是我经常使用的工具。在你投票否决我的答案之前先测试一下
Opp.正在请求表单的
方法=get
解决方案。。在您的示例中,在comment-its
method=post
GET
方法拒绝查询字符串中使用的变量。如果表单的方法是
GET
,则url中的变量将被完全忽略,只考虑包含
name
属性的字段。检查这个代码@BhaveshGangani实际上是的,你可以。这是非常可能的,也是我经常使用的工具。在你投票否决我的答案之前先测试一下
Opp.正在请求表单的
方法=get
解决方案。。在您的示例中,在comment-its
method=post
GET
方法拒绝查询字符串中使用的变量。如果表单的方法是
GET
,则url中的变量将被完全忽略,只考虑包含
name
属性的字段。检查这个代码@BhaveshGangani实际上是的,你可以。这是非常可能的,也是我经常使用的工具。在你投票否决我的答案之前先测试一下
Opp.正在请求表单的
方法=get
解决方案。。在您的示例中,在comment-its
method=post
GET
方法拒绝查询字符串中使用的变量。如果表单的方法是
GET
,则url中的变量将被完全忽略,只考虑包含
name
属性的字段。检查这个代码@BhaveshGangani实际上是的,你可以。这是非常可能的,也是我经常使用的工具。在你投票否决我的答案之前先测试一下
Opp.正在请求表单的
方法=get
解决方案。。在您的示例中,在comment-its
method=post
GET
方法拒绝查询字符串中使用的变量。如果表单的方法是
GET
,则url中的变量将被完全忽略,只考虑包含
name
属性的字段。检查此代码