📄 form.php
字号:
<html>
<head>
<title>Write Your EXAM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<?
function make_seed() {
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
}
srand(make_seed());
$randval = rand();
?>
<body bgcolor="#FFFFFF" text="#000000">
<H1> Welcome to Exam Module</H1>
<H2>please fill the below form for writing your exam</H2>
<form name="form1" method="post" action="test.php">
<p>$studentid
<input type="text" name="studentid">
</p>
<p>$sessionid=<? echo $randval; ?>
<input type="hidden" name="sessionid" value="<? echo $randval; ?>">
</p>
<p>$questionpaperid
<input type="text" name="questionpaperid" value="">
<input type="hidden" name="qid" value="0">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
</p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -