用VB编写标准CGI程序[4]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 jmylf 的 blog

   if x > 0 then tempfile = left$(tempfile, x - 1)
  end function



  cgi程序guestbook.bas所要处理的表单如下所示:

  <html><head><title>贵宾留言簿</title></head>
  <body>
  <h3>贵宾留言簿测试</h3>
  <form action="/cgi-bin/guest.exe" method="post">
   您的姓名: <input type="text" name="name"><br>
   您的email信箱: <input type="text" name="email"><br>
   您的主页的url: <input type="text" name="url"><br>
   您的建议:<br> <textarea name="url_comment" rows=4 cols=30></textarea><br>
   您来自: <input type="text" name="from"><br>

   <input type="submit" value=" 留言 ">
  </form>

本文关键:cgi
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top