You choose! Windows or Linux!
Dont let your web hosting company box you into the operating system that they want you to use. At BizWebSpace.com.au we let you choose between Windows.NET server 2003 web hosting or Red Hat Linux web hosting.
No matter how you want to design your web site, we have a web hosting plan for you!
Try our web hosting plans risk free for 30 days! If you are not happy with our web hosting service for any reason, we will refund your money in full during the first 30 days!
How To Set Up a Form Mail Script on The Web Server
This FAQ was created by Peter Perchansky of www.dynamicnet.net The good people at dynamicnet provide creative solutions for e-commerce and DB management.
Setting up Matt's Script Archive Formmail in Microsoft FrontPage.
You are on a Unix box.
You have your own domain name. If you don't have one, you can edit the script to not make use of the @referers logic.
You have the right to publish CGI scripts on your server.
Read Matt's Formmail instructions for general installation and use.
Edit the formmail.pl file using notepad or another text editor to modify the lines that contain the following:
$mailprog = "/usr/sbin/sendmail";
@referers = ('worldwidemart.com','184.108.40.206');
Make sure /usr/sbin/sendmail is the location.
Replace 'worldwidemart.com' with your domain name, and '220.127.116.11' with your domain's IP address.
Place the edited formmail.pl script in your FrontPage CGI-BIN directory.
From within FrontPage Explorer, switch to folder view, find your CGI-BIN directory on the left hand side, and right click on it.
Make sure the "Allow scripts or programs to be run" check box is checked.
Note: If you have FrontPage Extensions installed to your remote server, you will want to open your web live and do the above as well as doing it for any local copy you have on your system.
From within FrontPage Editor either bring up an existing page you wish wish to add email feedback to or create a new page.
Make sure you have your forms toolbar activated (View, Forms toolbar has a check mark next to it; if not, then select it).
Start making your form by adding those elements which you want to track.
A subject text box to allow the person to state why they are writing to you.
A comments scrolling text box to allow the person to write their thoughts.
A email text box for the person to include their email address.
Include two push buttons at the end of the form.
Right click on the second push button, and give it a name and value of Reset, and select the Reset radio button.
Now, the tedious part. Right click on each field element you added, and select Form Field Properties.
For each field's form field properties, give it a meaningful name that contains no spaces or non-alphanumeric characters.
Modify the length (if applicable).
Right click within the form itself, and select Form Properties.
Make sure the "Form Handler" is set to "Custom ISAP, NSAPI, or CGI Script"
Under the "hidden fields" section of the tab, click on the add button.
Type in "recipient" for the name, and enter the e-mail address you want the reply to go to in for the value
If you wish to have a another page display on the browser after the user selects "submit" then create a hidden field with a name of "redirect" and a value of the complete URL of the page you wish to redirect the user.
Other hidden fields you can add that modify how the form works or what information you can get are as follows: required, env_report, sort, print_config, title, return_link_url, return_link_title, background, bgcolor, text_color, link_color, vlink_color, and alink_color. For an explanation of these hidden fields and their usage, read Matt's Formmail instructions.
Click on the "Settings Botton" next to "Form Handler" (in Form Properties. Enter the complete URL of the script in the action text box (example: http://www.yourdomain.com/cgi-bin/formmail.pl).
Make sure the method is set to Post.
Save your work.
Check out Matt's Formmail FAQ
A common CGI problem is the permissions for the scripts are not set to 755 (-rwxr-xr-x). If you can FTP or telnet into your server, do a "chmod 755 formmail.pl" on the server end to ensure the permissions are set correctly.
Return to main Faqs page