我不确定这是否是预期的行为。但是,如果我主持我的服务器
<?php
print $stackoverflow;
?>
在下面我有另一个example.html的至极包含:
<form action="http://pinguincyb.org/roc/opdracht1/lawl.php" method="POST">
<input type="text" name="stackoverflow" value="example">
<input type="submit" value="Submit">
</form>
页打印“示例”,这是正常的行为呢?这难道不该数据不可用,直到我会做类似
$stackoverflow = $_GET["stackoverflow"];
mehtod?只是要精确... – Ihsan 2013-04-05 11:53:57
http://us.php.net/manual/en/security.globals.php – DCoder 2013-04-05 11:54:29