Corpex - The Business Internet Company Wed 23 July 2008
GENERAL UNIX NT
 
TECHNICAL SUPPORT

General Support

Unix Support

NT Support

HOME GENERAL UNIX NT CONTACT US
   CGI Scripts

All sites hosted on a Corpex NT server can run CGI scripts. Unlike other hosting companies, we do not check the content of CGI scripts before they are uploaded, as this often leads to unnecessary delay. However, this means that we reserve the right to disable CGI scripts that are not 'well behaved'. Typically this will be scripts that repeatedly time out or take too much processing time, but there can be other reasons. This action is solely at our discretion, and, due to the nature of the problems caused, can be without notice, although we will endeavour to send an email to the webmaster email address for the site.

   Mailform.cgi

You should already find mailform.cgi installed in your cgi-bin directory. If you do not have it then please contact support@nt.corpex.com and we will install the script for you.

Within your forms page you will need several lines that control the gateway

Required Fields:

<form method=post action="/cgi -bin /mailform.cgi">

<INPUT TYPE="hidden" NAME="mailformToEmail" VALUE="Email@domainanme.co.uk ">

Optional:

<INPUT TYPE="hidden" NAME="mailformCc" VALUE="Email@domainname.co.uk">

<INPUT TYPE="hidden" NAME="mailformBcc" VALUE="Email@domainname.co.uk">

<INPUT TYPE="hidden" NAME="mailformURL" VALUE="http://www.domainname.co.uk/reply.htm">

<INPUT TYPE="hidden" NAME="mailformToName" VALUE="Email Recievers Name">

<INPUT TYPE="hidden" NAME="mailformSubject" VALUE="Email Subject">

<INPUT TYPE="hidden" NAME="mailformOrder" VALUE="space separated list of fields used in the rest of the form">

<INPUT TYPE="text" NAME="mailformFromEmail">

<INPUT TYPE="text" NAME="mailformFromName">

The above hidden fields all control 'sub'-functions of the cgi script that provide you with greatest flexibility.

mailformCc allows for a Carbon-Copy of the data to be sent to a desired Email address

mailformBcc allows for a Blind Carbon-Copy of the data to be sent to a desired Email address

mailformURL allows you to specify a web address of a page to return when the script has completed.

mailformToName is the Name of the Email account the mail is being sent to.

mailformSubject is the Subject of the Email.

mailformFromName is the Name of the Email account the mail apparently comes from.

mailformOrder This is a powerful function that allows you to specify the order in which the data is returned to you.  If left blank, the script will return the data in the order it recieved it from the browser.  If a field is omitted, then it is ignored. Essentially just add the name="XX" entries to this field. All the entries must be single words, and are space separated

To finish the whole procedure you need a Submit button and optionally a Reset or Clear button. To achieve this use something like the following:

<INPUT TYPE=SUBMIT VALUE="Submit Data">
<INPUT TYPE=RESET VALUE="Clear Form">

If you need any more help please feel free to contact Corpex NT Support, support@nt.corpex.com .

   CGI Scripts - Temporary Files

All sites have access to a temporary directory, s:\temp or e:\temp . Where possible, you should first create a directory that will keep the files for your site separate from others. You do not need to remove files from this directory when you have finished with them, as they are automatically removed periodically.

Note: The temporary directory is a shared resource.

FIND & PURCHASE A DOMAIN NAME...
  
Please enter search without extension
e.g. 'domain' NOT 'domain.co.uk'
ENQUIRY FORM | CONTACT US
© 1996 - 2007 Corpex Ltd.
Corpex - The Business Internet Company
Visit Corpex Germany: