Insiteweb Support

[ Insiteweb Home Page | Contact Support | Support Home Page]


Using Webform.cgi

Contents of this Page

Introduction
The Steps
With Secure Server
FrontPage97 Users

FrontPage98 Users
Us Setting up a Form for You

Introduction

Our webform.cgi tutorial shows how to setup an HTML form to send email upon the submission of the form data.  The code calls the preinstalled script webform.cgi, which is in the "cgi-bin" directory of the server, once the web page visitor clicks on the "Submit" button. This program is a derivation of the formmail.cgi program available at Matt's Script Archive.

The Steps

To modify an existing HTML form to work with webform.cgi, please follow the simple instructions below.

We will use the example of an account with Insiteweb with the following
account info:

Homepage name: index.htm

Name of page with the form on it: xyz.htm

Name of the thank-you page: thanks.htm

Email address:  abcdefg@xyz.com

First, we will need to make a link to "xyz.htm" from the homepage, "index.htm". The link will need to use this piece of HTML code, inserted into the file, "index.htm":

<A HREF="http://YOURDOMAIN.NAME/xyz.htm">Link to form page.</A>

We can of course substitute other words or an image for, "Link to form page." 


Second, we need to insert some HTML code into the file, "xyz.htm".    We will insert this code:

<form method="post" action="http://YOURDOMAIN.NAME/cgi-bin/webform.cgi">
<input type="hidden" name="recipient" value="abcdefg@xyz.com">
<input type="hidden" name="redirect" value="http://YOURDOMAIN.NAME/thanks.htm">
<input type="hidden" name="subject" value="Form Submission">

Of course, we may we may replace "Form Submission" with some other subject.

With Secure Server

For Secured Server on UNIX the path would be:

<form method="post" action="https://wwwXXXX.securedweb.net/cgi-bin/webform.cgi">
<input type="hidden" name="recipient" value=" abcdefg@xyz.com">
<input type="hidden" name="redirect" value="https://wwwXXXX.
securedweb.net/yourdirectory/thanks.htm">
<input type="hidden" name="subject" value="Form Submission">

where XXXX should be substituted with the number of your server.

Us Setting up a Form for You

Insiteweb can setup a form for you for a one-time $30 fee. Each form would entail such a one-time fee. You would need to specify:

Please note that our work would entail the basic structure of the form itself rather than the aesthetic design of the page. The customer would be responsible for the aesthetics, after the form is setup. We will, of course, give the form an organized design.


 

 

Back to Support Home Page

These pages are for Insiteweb customer support only.  While every effort is made to keep these pages current Insiteweb cannot be held responsible for loss or damage to files or equipment due to procedures stated on this website. You must agree to the insitewebdesigncom terms of service prior to using this information.