Saffas Web - UK Web Hosting Services
Billing Centre Help Centre Shopping Cart
Sales and Support
Saffas Web Saffas SEO Saffas Voice Saffas Telecom
  Best Value UK Web Hosting   |  PHP and MYSQL Web Development Why clients love Saffas Web
 

Standard - Forms

How to setup an online form.

Online contact forms are required for collecting visitor information online.


System CGI Form

Standard Plans come with a cgi form script that you can easily instal.

This form is safe and secure and there are no critical security threats that prevent this script from being used.


Contact Form


To create this example form on your Standard Hosting Plan, cut and paste the following code into your html document ...

<form name="form1" method="post" action="http://www.change-domain.com/cgi-bin/mailform.pl" enctype="multipart/form-data">
<input type=hidden name="recipient" value="you@change-domain.com">
<input type=hidden name="subject" value="Email Subject Header">
<input type=hidden name="redirect" value="http://www.change-domain.com/redirectpage.htm">
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="100">Name</td>
<td><input type="text" name="name" size="30"></td></tr>
<tr><td width="100">Tel</td>
<td><input type="text" name="phone" size="30"></td></tr>
<tr><td width="100">Email</td>
<td><input type="text" name="email" size="30"></td></tr>
<tr><td width="100">Comments</td>
<td><textarea name="textarea" wrap="VIRTUAL" cols="30" rows="3"></textarea></td></tr>
<tr><td width="100">&nbsp;</td>
<td><input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset"></td></tr>
</table>
</form>


You will need to replace the bold variables with your own settings, then upload the page to your website and test it.


Quick Test

The path to the script is ...
http://www.change-domain.com/cgi-bin/mailform.pl

To test you have the correct path, replace 'change-domain.com' with your own domain and insert it into your browser, you will see a standard script page confirming you have the correct path.

If no script message is seen, login to your Control Panel and make sure you have installed the 'Form Mail' script from the 'CGI Scripts' section.


Recipients

Additional security measures mean that the recipient email address you use in the form must be added to the 'allowed' list on the server. To do this, login to your user Control Panel and go to CGI Scripts / Mailform / Configure, then add each email address to the 'allowed' list.


 Best UK Web Hosting | Site Map | Why Saffas | Newsletter | Support
POLDINGS
billing centre
shopping cart
support tickets
Saffas Web
uk web hosting
value domains
web sponsorship
Saffas SEO
free seo advice
submit your site
website analysis
Saffas Voice
talking websites
voice newsletters
custom characters
Saffas Telecom
free switchboard
conference calls
telecom resellers
POLDINGS Limited, Charwell House, Wilsom Road, Alton, Hampshire, GU34 2PP. England, UK. Phone 0844 884 9100