MFRWC Domain Example: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
<PRE>
   "http://www.w3.or g/TR/xhtml1/DTD/xhtml1 transitional.dtd">
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
  <html>
   "http://www.w3.or g/TR/xhtml1/DTD/xhtml1 transitional.dtd"&gt;
   <head>
  &lt;html&gt;
   <title >JDIR</title>
   &lt;head&gt;
   <script language="JavaScript" type="text/javascript"
   &lt;title >JDIR&lt;/title&gt;
           src="ajax_captcha.js">
   &lt;script language="JavaScript" type="text/javascript"
   </script>
           src="ajax_captcha.js"&gt;
   </head>
   &lt;/script&gt;
   <body>
   &lt;/head&gt;
   <H1>The JDirectory</H1>
   &lt;body&gt;
   &lt;H1&gt;The JDirectory&lt;/H1&gt;


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


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


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


   </form>
   &lt;/form&gt;
   </body>
   &lt;/body&gt;
   </html>
  &lt;/html&gt;
   </PRE>
 
 
where jk-bin is your cgi-bin alias, usually yourlogname-bin.

Latest revision as of 15:47, 28 May 2009

 <!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.yourdomain.com/">
   
   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.