2,204
社区成员
发帖
与我相关
我的任务
分享
#!/usr/bin/python
print"HTTP/1.0 200 OK"
print"Content-Type:text/html\n\n"
print""
print""
print"Hello,world!"
print""
<html>
<title>Interactive Page</title>
<body>
<form method="get" action="cgi-bin/my.py">
<p><b>Enter your name:</b></p>
<p>Username:<input type="text" name="username"/></p>
<p>Password:<input type="password" name="pwd"/></p>
<input type="submit" name="submit" text="submit"/>
</form>
</html>