MFRWC Domain Example

From SWCP Support Wiki
Revision as of 15:46, 28 May 2009 by Jamii (talk | contribs)
Jump to navigationJump to search
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
   "http://www.w3.or g/TR/xhtml1/DTD/xhtml1 transitional.dtd">
 <html>
  <head>
  <title >JDIR</title>
  <script language="JavaScript" type="text/javascript"
           src="ajax_captcha.js">
  </script>
  </head>
  <body>
  <H1>The JDirectory</H1>

  <form method="POST" id="mfrwc" name="mfrwc" action="http://pages.swcp.com/cgi-bin/mfrwc">

  <input type="hidden" name="form-owner" VALUE="jk@swcp.com">
  <input type="hidden" name="email-field" VALUE="email">
  <input type="hidden" name="subject-field" VALUE="subject">
  <input type="hidden" name="subject"
  value="Consultant Directory Form Submission">
  <input type="hidden" name="return-link-name" VALUE="Jamii's Home Page">
  <input type="hidden" name="return-link-url"
  value="http://www.swcp.com/~jamii">
   
   Name: <input type=text name="name" size=36><BR>
   Email: <input type=text name="email" size=36>
   <P>
   Enter your comments in the box below:<br>

   <textarea name="comments" rows=8 cols=40></textarea>
  <P>
  <style = "text/style">
  #imgCaptcha { margin: 0 30px; border: black solid 1px; }
  </style>
  <img id="imgCaptcha" src='/jk-bin/gencap.pl?789'><br><br>
  Please type in the letters above
         <input id="txtCaptcha" type="text" name="verify" size=8
                 onKeyPress="onlyOnReturn(event, document.mfrwc)";><br>
  <input id="regCaptcha" type="button" value="Give me different text"
         name="regCaptcha" onclick="regenCaptcha(document.mfrwc)";>
  <input id="btnCaptcha" type="button" value="Send Comments"
         name="btnCaptcha" onclick="getParam(document.mfrwc)";>
  <input type="reset" value="Clear Form">
  <div id="response">&nbsp</div>

  </form>
  </body>
  </html>
  


where jk-bin is your cgi-bin alias, usually yourlogname-bin.