批改状态:未批改
老师批语:
<?php
echo '<pre>';
//这里的代码要交给CGI
if(!empty($_GET)){
print_r($_GET);
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>get</title>
</head>
<body>
<form action="" method="get">
<label for="email">邮箱:</label>
<input type="email" id="email" name="email" value="<?=$_GET['email']?$_GET['email']:''?>"/><br/>
<label for="password">密码:</label>
<input type="password" id="password" name="password" value="<?=$_GET['password']?$_GET['password']:''?>"/><br/>
<button>登陆</button>
</form>
</body>
</html>点击 "运行实例" 按钮查看在线实例

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号