cgi descriptions

This is a draft version of cgis available or under development

Available Now

Form Processor fp.cgi


Description:

This cgi handles form processing from a html page using the "submit" button.

Specifications:

Maximum number of form fields:
120
Maximum field length:
4,096
Mandatory fields:
3
Optional fields:
2
CC Limit :
5

 

How to use the cgi:

Overview

There are 5 fields that you can embeded in your HTML page. All have to be placed at the beginning of the form. There is a path you have to specify with the submit button so the form gets passed to the fp.cgi for processing.

You can make any of these fields hidden or public.

Instructions

This is the code you have to put in at the beginning of the form component of your HTML page:-

<FORM METHOD=POST ACTION="http://www.your-domain.com/cgi-bin/fp.cgi">

Immediately after this you have to place the mandatory fields. Without these fields this cgi will not function.

There are three (3) mandatory fields - they can be hidden or part of the form for public view.

The first mandatory field you call "to" and this contains the email address of the person you want the form to go to. This can also be the adress of another service such as a listserver - when you provide a form on your webpage to subscirbe to a mailing list.

The second field is called "thanks" and here you specify the URL of the page for the acknowledgement of the from being successfully submited.

The third field is called "subject" and here you specify what you want to appear in the subject line of the email.

There are two (2) optional fields that do not have to be used if you don't wish to.

The fourth field is called "cc" and acts like the BCC field in any email client. You can specify any number of email addresses that the form can also be posted to as long as you seperate each email with a comma. Do not use a space after the comma.

e.g. someone@you.net,none@our.net.sg,i@robot.com

The fifth field is called "sender" and here you can specify the email address from where the form comes from. We advise you to use this field and put an address in it such as form@our-website. In the first example below this field is hidden and used so as to say that it comes from the website. In the second example this is a public field and is the email address of the user wishing to subscribe to a listserver.

 

Examples of usuage:

1. Click here and you will be able to view the form (and the code) for a simple contact form.

2. Click here to see the acknowledgement for submitting the above form.

3. Click here to see a form (and view the code) that will automatically subscribe a user to a yahoogroups listserver.

4. Click here to see the acknowledgement for submitting the above form.

5. More examples wil be provided at a later date.

Under Development

Web Counter

 

Guestbook or Bulletin board (unmoderatd)

 

Guestbook or Bulletin board (moderated)

 

Listmaker

 


Version 0.61
this page is under development

Last Updated on 18th July, 2001
webmaster@inter-hosts.net