1、创建表单
#!/bin/bash
echo "content-type:text/html;charset=utf-8"
#this is importment
echo ""
echo "<form action='get.cgi' method='get'>"
echo "<p>用户名</p>"
echo "<p><input type='text' name='username'></p>"
echo "<p>密码:</p>"
echo "<p><input type='text' name='password'></p>"
echo "<p>留言:</p>"
echo "<p><textarea cols='100' rows='10' name='mess'></textarea></p>"
echo "<p><input type='submit' value='提交'><input type='reset' value='取消'></p>"
echo "</form>"
echo "</pre>"