标签:
<body>
<form action="get.php" method="get">
<input type="text" name="user">
<input type="pass" name="pass">
<input type="submit">
</form>
</body>
<?php
var_dump($_GET);
echo $_GET[‘user‘];
foreach ($_GET as $key => $value) {
echo $value."<hr>";
$$key=$value;
}
echo $user;
?>
define("PI", 3.1415926);
echo PI; ——>输出3.1415926
$str2=<<<END ...... ——>此处内容是有意义的,无意义的字符则当作普通字符 END; //此处一定得顶边
标签:
原文地址:http://www.cnblogs.com/pan-hello/p/4565460.html