Search
Related Links

 

 

Informative Articles

Content-rich website setup
Building a web site for the first time might seem like an extremely difficult task, especially when you have to consider that you will be building a site for a world-wide audience comprising individuals with a wide range of abilities, platforms, and...

Create A Free Web Page Online Today!
So you're interested in getting your own free website, excellent! Funny enough, this is how I started out on the internet and look what has happened! Anyway, a free website is good because you can use it for many things. These include a...

Dedicated Web Hosting Is Easy When You Know These 3 Timesaving Secrets
Dedicated web hosting has its difficulties and problems from time to time like all technology. However, there are certain things you can do to prepare yourself for any server downtime or other problems that might arise. The key, however, to these...

How To Protect Your Website Content
Most of the webmasters put in a great deal of energy and time in developing quality content for their web site. But they are not aware of thousands of other webmasters who are using content from their web sites without permission. The problem of...

The Secrets of How to Make Money with Your Website.
The Secrets of How to Make Money with Your Website. If you have a website that sells products or services, good luck. That is very difficult. It works better to have a website that’s helps promote and existing business that sells products or...

 
How to Install a CGI Script and Increase Web Site Interactivity

You may have delayed cgi script installation due the
apparently complex process. Well, I avoided it also for
several years, however if you want to increase your web
site's interactivity it's a necessity to know how to do it.
It's not hard to learn and you don't have to be a
programmer.

What is CGI ?

Common Gateway Interface or CGI is a program that can
interact with an html form on your web site, and processes
the results on your server using a cgi script. The result
generated is a dynamic web page. The cgi script is written
in a language called PERL ("practical extraction and
reporting language").

Uses of CGI scripts

CGI scripts are most commonly used for creating user
interaction with a html form on your web site. Other uses
include: autoresponders, shopping carts, counters, mailing
list managers, ad management, surveys, polls, discussion
boards, content management, calendars and click tracking.

There are 100s of free cgi scripts that can be found on the
Net. Just do a search on Google for "free cgi scripts" or
visit the resources at the end of this article.

We will create an html email form to collect the name,
email address and comments of subscribers using a secure
cgi formmail script. An automatic confirmation will be sent
and the results of the email form will be passed on to your
email address.

Steps to installing your own cgi script

1. Check that your web host supports CGI - your web host
will have a cgi-bin folder installed on the server. The
cgi-bin is a special directory in the server where all the
files which require security are kept. This is where you
will upload your cgi script once it has been modified.

2. Download the cgi script - this is a secure cgi formmail
script. Spammers can't access and harvest your email
address from this script.

http://nms-cgi.sourceforge.net/formmail.zip

3. Read the documentation that comes with the script - this
will give you a thorough understanding what changes you
need to make to have it work correctly with your web site
and server. It will also provide you with some examples.

Editing your script

4. Open and edit your cgi script using notepad (don't use
an html editor as this can create errors).

5. Remove the html tags from the script (at the top and
bottom).

6. Change the path to perl to: #!/usr/bin/perl -wT (this is
the first line of the script to be edited).

7. The section of the cgi script shown below, are the other
minimum fields to fill out in the script (replace the
fields in the script you downloaded with the changed fields
in the script below).

# USER CONFIGURATION SECTION
# --------------------------
# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 1;
$mailprog = '/usr/lib/sendmail -oi -t';
$postmaster = 'youraddress@yourdomain.com';
@referers = qw(yourdomain.com);
@allow_mail_to = qw();
@recipients = ();
%recipient_alias = ('siteowner' => 'youraddress@yourdomain.com',);
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$send_confirmation_mail =


0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: youraddress@yourdomain.com
Subject: Subject of Your Contact Form

(short note here->> )Thank you for your interest. We will respond shortly.

END_OF_CONFIRMATION
#
# USER CONFIGURATION << END >>
# ----------------------------
# (no user serviceable parts beyond here)
--------------------------------------------------------------------------------

$postmaster = Who's sending the email
@referrers = Domains that are allowed to host the script
%recipient_alias = Whom the script will send email to

In my form:

method="POST">


You can see how the siteowner variables match up in the .pl
script and in my form. This way, nobody can tell what
address the form is being emailed to!

8. Rename your cgi script - name your script something else
besides formmail (ie contactus.pl), as this is the most
common name people use. This will prevent spammers from
harvesting your email address.

9. Create your html form (contactus.htm).



Contact Us< itle>







Full Name




Email Address





Comments

< extarea>









10. Create a confirmation page (ie thankyou.htm) - this
will automatically thank people for filling in your form.
It can be a simple html page with the comments "Thank you
for your interest. We will respond shortly".

Uploading the cgi script and html email form.

Use your favorite FTP program for uploading to your server
(I use SmartFTP.com which you can download for free).

11. Set permissions to 755 - in SmartFTP right click on the
script file you wish to upload, click on Properties/CHMOD
and set the permissions to 755.

12. Upload the cgi script - there are two modes of
uploading, ASCII and Binary. Upload the cgi script
(contactus.pl) and any txt files in ASCII mode. Upload the
script to the cgi-bin folder. If you don't follow this you
will not be able to execute the script.

13. Upload the html form and any image files like .jpg or
.gif in Binary mode.

14. Test your cgi script by filling out the html email form
and submitting it. You should receive an immediate
confirmation.

By adding interactivity to your web site using a cgi
script, you can expand the functions of your web site and
create a more interesting experience for your visitors.
This will keep them coming back and help you stay ahead of
your competitors.

Resources

Formmail script
http://nms-cgi.sourceforge.net/formmail.zip

Free CGI scripts
Scriptarchive.com
Hotscripts.com
cgi-resources.com

About the Author

Herman Drost is the Certified Internet Webmaster (CIW)
owner and author of iSiteBuild.com Affordable Web Hosting
Plans from $30/year http://www.isitebuild.com/sitehosting
Subscribe to his insightful “Marketing Tips” newsletter for
more original articles. mailto:subscribe@isitebuild.com

 

Web hosting, domain names and web design services by FortuneCity
Web hosting, domain names, web design, free web site and email address providers. We offer affordable hosting, dedicated ad-free web hosting, ...
www.fortunecity.com
 
AT&T Hosting > About AT&T Hosting.com
Offers shared and dedicated hosting, colocation, and ecommerce services with 24-hour technical support.
www.webhosting.com
 
Hostinginsiders.com - affordable webhosting with a free domain name
Hostinginsiders.com - affordable webhosting with a free domain name, prices starting at $2.95 per month paid monthly.
www.hostinginsiders.com
 
WEB HOSTING : Compare Prices, Consumer Reviews, Help, Guides ...
A web hosting marketplace. Also provides guides on how to start your website.
www.findmyhosting.com
 
Yahoo! Web Hosting: Everything you Need for a Professional Site
Offers shared web hosting services. Supports PHP and MySQL, domain name included and 24/7 toll free support.
smallbusiness.yahoo.com
 
Web Hosting Stuff - 4884 Hosting Companies User Rated & Reviewed
Find complete ratings and user reviews on 4884 cheap web hosting companies. Include Top 10 Best Web Hosting Chart. We search the web daily for the best ...
www.webhostingstuff.com
 
Doteasy - 100MB Free Web Hosting, Free Email, Domain Names for ...
Doteasy provides bannerless free web hosting free email and free support for small business and individual.
www.doteasy.com
 
Web Hosting:IX WEB HOSTING:Best Web Hosting Site:Webhosting Provider
Web Hosting:IX WEB HOSTING:Best Web Hosting Site:Webhosting Provider hosting site sql web best hosting web xxasdf .net add hosting site cheap canada web ...
www.ixwebhosting.com
 
WebHosting.Info - Web Hosting Information
Provides statistics and research data about the Web services industry. Tracks over 35000 Web hosting companies worldwide.
www.webhosting.info
 
Web Hosting by iPowerWeb
iPowerWeb is the web hosting leader. Providing cheap hosting with frontpage, php, stats, ecommerce and domain names support. Affordable web hosting without ...
www.ipowerweb.com
 
WebHostingTalk Forums - Web Hosting Discussion
A popular web hosting discussion forum. ... Discussions on all aspects of web hosting including past experiences (both negative and positive), ...
www.webhostingtalk.com
 
Affordable Virtual Webhosting Service from $8.95: Low Cost and ...
Affordable Unix web hosting and domain name hosting from less than $2 per domain. We are a low cost professional unix and virtual webhosting provider with ...
www.active-venture.com
 
Webhosting.net - unmatched service and support for your business ...
Webhosting.net provides E-Commerce web hosting services Co-Location and Dediciated servers.
www.webhosting.net
 
Netfirms - Web Hosting, Domain Names and E-commerce for Small Business
25Mb with unlimited hits on a clustered web hosting platform. Banner ad required on each page; user ads are permitted. FTP uploads. Email forwarding.
www.netfirms.com
 
Web Hosting, Dedicated Servers, Web Design Services
Hostway provides web hosting, domain name registration, web design, weblog tools and web site marketing on shared or dedicated servers for small business ...
www.hostway.com
 
Web Host Directory: The best free source of web hosting services ...
Web Host Directory: Your best free source of web hosting services, featuring more Web Hosts details than ANY other Web Host Directory, along with powerful ...
www.webhostdir.com
 
Affordable, full service web hosting packages.
Affordable, full service web hosting packages. ... I always refer folks to Go Daddy if they are in the market for a web hosting service. You guys are great! ...
https:
 
Web hosting service - Wikipedia, the free encyclopedia
A web hosting service is a type of Internet hosting service that allows ... Shared web hosting service: one's Web site is placed on the same server as many ...
en.wikipedia.org
 
Free Webspace and Free Web Hosting Services
directory to compare free webhosting service providers with reviews and searchable database of about 500 free web space hosts to find free hosting of ...
www.free-webhosts.com
 
Search and Find Web Hosting at HostSearch.com
News, articles, and a searchable database of web hosting providers.
www.hostsearch.com
 
 

 

Content Menu
  • 10 cool ways to attract people to your web site

  • 10 helpful tips to follow when switching web hosts

  • 10 tips for web success

  • 10 web site backup essentials that you should live by

  • 12 quick tips for beginning webmasters

  • 1 simple step towards improved customer satisfaction for web hosts

  • 2003 guide to website optimization

  • 20 website mistakes that cost me three years and 22 000

  • 2much hosts webmaster access blow out

  • 3 95 domain website at voip communications

  • 3 deadly traffic killers courtesy of web hosting services

  • 3 mistakes to avoid while choosing a web host

  • 40 000 new blogs are started daily how your web hosting business can cash in

  • 4 things to look out for in choosing a web hosting platform

  • 4 tips in choosing the right web hosting company

  • 4 tips to find the web host thats right for you

  • 5 good reasons why you may need to change your web host now before it is too late

  • 5 ways to give your web site a big company look and feel

  • 5 web hosting tips for 05

  • 6 steps to your own website

  • 6 tips to secure your website

  • 7 key ingredients for rock solid website hosting

  • 7 key points to consider when choosing a web host

  • 7 point checklist to choose a web hosting service

  • 8 ways to get people to visit your web site again and again

  • 90s web design a nostalgic look back

  • 9 steps to successfully switching to a new web hosting company

  • achieve a better website by avoiding these 10 basic mistakes

  • adult web hosting the all you need to know

  • all web hosts are not created equal

  • analyzing website traffic

  • analyzing website traffic for commerce

  • anti spam two step for webmasters

  • anyone can build a web site

  • are free webhosting accounts really free 5 critical things to consider before choosing a free website host

  • are you being scammed by your web design company

  • asp web hosting

  • attracting extra web hosting customers by targeting cities i e new york web hosting

  • australian web hosting

  • avoiding bad web hosts

  • a beginner guide to web hosting

  • a comprehensive strategy for using website statistics

  • a deadly web writing search engine optimization myth

  • a little mistake that costs your website hosting business a fortune

  • a note on free web hosting

  • a properly hosted web site is a lazy mans way to make a fortune online

  • a simple guide to web hosting

  • basics of web hosting and what to look for

  • becoming a web hosting reseller

  • boomerang dont ricochet your web site visitors

  • budget web hosting dirty secrets that can squash your websites chance of success

  • building customer trust with secure e commerce by vip powernet web hosting

  • building ecommerce web sites where do i start

  • building websites with directory generator

  • build a web site build a great one the easy way

  • business website content theft 3 myths

  • business web hosting which is right for you

  • can i hear your web site

  • can your website be stolen

  • can your web site or servers afford downtime

  • cgi web hosting 3 essential scripts for your business

  • changing web hosting providers

  • changing web hosts

  • cheapest domain name registration web hosting

  • cheap webhosting is it for you

  • cheap web hosting is no bargain

  • cheap web package hosting how to minimize costs

  • choosing a high quality web host

  • choosing a web host

  • choosing a web host based on price dont

  • choosing a web host is like choosing a place to eat you want quality food with good honest service

  • choosing between free or paid web hosting

  • choosing the perfect deluxe web site hosting plan

  • choosing the right web designer

  • choosing the web site host thats best for you

  • choosing your web hosting package

  • choosing your web hosting reseller software

  • coldfusion web hosting

  • college and university professional association in human resources selects gomembers extraweb

  • commercial web hosting business considerations

  • communityserver org installation at orcsweb com

  • confessions and tips from a top web hosting salesman

  • content rich website setup

  • coporate website content design failures

  • create a free web page online today

  • create a search engine toolbar for your web site

  • create huge income from your web site 10 easy ways

  • create your own webcomic

  • creating a search engine friendly web site

  • criteria of choosing an ideal web hosting company

  • dedicated server smart web hosting choice

  • dedicated server vs co location web hosting by www vipwh com

  • dedicated web hosting is easy when you know these 3 timesaving secrets

  • dedicated web hosting the executive summary

  • designing your websites directory structure

  • detangling the web beware spyware

  • did i hear you say mama help me i lost my websites

  • dns how it works and why its important to your website

  • does a real person answer your web hosts phone

  • does my business need a website

  • does your website need an ip address does it really matter

  • domain and website tools

  • domain names and webhosting explained

  • domain registration how to setup domain with dns ip address web host

  • dont get fooled by the web hosting wolves in sheeps clothing

  • do it yourself website

  • do you know what your website visitors are really looking for

  • do you need a web site monitoring service

  • ecommerce web hosting all you need to know

  • effectiveness of web hosting directories whds

  • eight steps to guarantee a successful video or web conference

  • elements of web hosting

  • evaulating web site performance

  • fast web design for the skint webmaster

  • finding a quality and affordable web host

  • finding recipes on the web by web search advisor

  • finding the right web host

  • findmywebhost org featured web host

  • find the purpose of your new proposed website

  • five reasons you have to stop your web site

  • four ways to make your web copy sell

  • free or paid web hosting

  • free web hosting tips

  • free web hosting why might it be a bad idea

  • free web site hosting without the banner ads

  • frequent business question how do you start a web business

  • from concept to website

  • generating website traffic with sub domains

  • get yourself a website without the drama

  • good web hosting what is it

  • great web hosting what to look for

  • help me choose linux vs windows web hosting

  • hosting deals from heaven article one findmywebhost org

  • how anyone can make money from their website

  • how can i get the web host services and support i need hassle free

  • how much bandwidth does your web site need

  • how multiple server hosting impacts your websites uptime

  • how multiple server hosting impacts your web sites uptime

  • how not to get web design work

  • how to analyze your web site traffic

  • how to analyze your web site traffic part 2

  • how to analyze your web site traffic part 3

  • how to be a web entrepreneur with no capital

  • how to build a church website quickly and easily

  • how to build a website

  • how to calculate and speed up the download time of your web site

  • how to choose a good web host when they all look alike

  • how to choose a hosting web package cheap

  • how to choose a reliable web host

  • how to choose a web host

  • how to choose a web hosting service

  • how to choose a web host frequently asked questions

  • how to choose your web host

  • how to consider a web host

  • how to find a dependable web host

  • how to find a profitable web hosting niche

  • how to find good web hosting for your site

  • how to find the right host for your web site

  • how to get a uk or any other website online and have it making money

  • how to have several websites but pay for only one websites hosting

  • how to host several websites under one account

  • how to install a cgi script and increase web site interactivity

  • how to make money with your website

  • how to migrate your linux web site to another hosting company

  • how to pick a web site domain name for your company or law firm

  • how to protect your website content

  • how to reduce web hosting bandwidth

  • how to republish rss feeds on your website

  • how to select a webhost that fits your needs

  • how to select a web host web hosting review

  • how to select a web site host

  • how to sell your website

  • how to shop and save on website hosting

  • how to succeed as a web host reseller

  • how voip has helped change web hosting

  • how you pay more for unused web space and traffic

  • hqhosts dedicated and shared web hosting economical server wizard and per gigabyte services

  • increase your web site traffic

  • index

  • internet jeff buckley music websites epiphanies following your dreamseverythings connected in the universe

  • internet marketing the 7 biggest mistakes i see people make with their websites

  • is your website blacklisted

  • is your web host a paddle boat or a cruise ship

  • is your web host too good to be true

  • is your web site held hostage by service providers

  • is your web site hosting cost effective

  • it is time to become a web hosting reseller

  • i want a website but i dont want spam

  • keep your web host from costing you money

  • learning asp series installing personal web server

  • learn what 98 of targeted visitors do on your website

  • linux vs windows web hosting does it make a difference

  • linux web hosting the all you need to know

  • looking for a new webhost

  • low cost web hosting services dont forget about uptime

  • making money with a content oriented website

  • mesopia com introducing new cost effective and cutting edge load balancing web hosting solutions for small to medium size businesses

  • migrating smoothly from one web host to another

  • more profits in your website hosting business

  • multiple website hosting subdomains are the answer

  • newsbytes from the world wide web

  • online advertising traffic and the first law of web surfing

  • overselling web hosting what does it mean to you

  • perfect webhosting business

  • personal web hosting free or cheap

  • php auto surf websites

  • plan to succeed with the right web strategy

  • popular web hosting deals

  • real estate website scams

  • reseller web hosting

  • reseller web hosting a cheaper alternative

  • rise of american patriotism on the web

  • rotator

  • rss get notified when your favorite websites are updated

  • sales versus customer oriented websites

  • save 100 in 5 minutes backing up your web site

  • search the web more efficiently tips techniques and strategies

  • secrets of writing a business website homepage

  • sell web hosting for fun and profit

  • setting up your first web hosting account

  • setting up your web site part 1 of 2

  • seven secrets for a better website

  • shared web hosting service explained

  • should you renew with your current host your website in the year 2005

  • simplehost web hosting

  • simple host web hosting review

  • simple tips for choosing good webhosting

  • simple web hosting

  • site bread and butter work the web and graphic designers loss of easy dollars

  • some comments about webrings

  • starting a web hosting business part 1

  • steps to becoming a web host reseller

  • ten major tips to develop a multilingual web site to work

  • ten question before choosing web hosting

  • ten traffic jamming ways to cleverly promote your website

  • theres gold in your websites server log

  • there are many free web hosting options on the web but do some research before you use one for your online business

  • the 1 factor new webmasters forget to consider when choosing a web hosting plan

  • the 3 most common complaints against web site hosts

  • the adult webmaster blogging girlie pics for fun and profit

  • the basics of starting your own website

  • the basics of website promotion

  • the basic facts about business web hosting

  • the benefits of having a web site

  • the best simple software for the busy webmaster

  • the best web design programs

  • the big secret of fabulous and mediocre web site hosting companies

  • the importance of keeping the customer satisfied in the web hosting industry

  • the importance of website statistics

  • the meta search engines a web searchers best friends

  • the money keyword list superchrage your websites earning power part 2 of 2

  • the net domain backbone of the web

  • the problem with free web hosting

  • the problem with free web hosting plans

  • the secrets of how to make money with your website

  • the september 2005 cheap web hosting report

  • the top ten non techie ways to drive traffic to your web site

  • the two most important things you need to run a wildly successful web site

  • the way to a cheap web hosting although a reliable web hosting

  • the webdesign business 5 surefire ways to fail

  • tips about low cost web hosting services

  • tips on finding a hosting service for your business website

  • top 10 ways for web designers to find new clients

  • top 10 webmaster challenges

  • top 10 web hosting blunders and how to avoid them

  • top ten ways to bring repeat visitors back to your web site

  • turnkey dropship websites save you time trouble and money

  • two simple security steps for your web site

  • types of web site hosting

  • unbiased step by step guide on web hosting

  • unique features that leading web hosts are now offering

  • unix vs windows what server operating system should you use for your web hosting

  • unlimited bandwidth in web hosting

  • update your websites content automatically 24 7 using rss real simple syndication and rss feeds

  • useful tips when applying for a web host provider

  • use sbi to build web sites that work

  • use the hosts file to block web sites

  • use your hobby to launch a successful website

  • use your webmail

  • vendio offers web hosting

  • vip powernet vipwh launches windows web hosting

  • virtual hospitality the quest for free high quality webhosting

  • virtual private servers vps web hosting by www vipwh com

  • virtual private server web hosting

  • wearing many hats as a web site owner

  • webfarms ii balancing the load

  • webfarms the only way to host

  • webhosting for blogging free or paid service

  • weblinkhosting com set to give out 19 dell monitors

  • weblinkhosting com web hosting prices slashed due to competition

  • website

  • website buying guide checklist

  • website hosting 101 learning the basics

  • website hosting in the uk

  • website promotion need inspiration to write articles check your stats

  • website templates thousands saved on web design fees

  • webwhacked three ways to avoid being overwhelmed by the internet

  • webxites and search engine marketing

  • web conferencing software choosing your application

  • web conferencing tool reduce your communication costs

  • web developers can be successful web hosting resellers

  • web hosting

  • web hosting 4 factors in choosing a hosting company

  • web hosting basics

  • web hosting benefits of a dedicated server

  • web hosting center ceo

  • web hosting how to choose the right provider for you

  • web hosting in 2005 finding the niche and cashing in

  • web hosting is so retail

  • web hosting look before you leap

  • web hosting operating systems explained

  • web hosting price vs quality

  • web hosting selecting the right host

  • web hosting server what to look for

  • web hosting services absolutely necessary for your websites success

  • web hosting shared or dedicated which should you choose

  • web hosting should be an easy decision

  • web hosting to switch or to stay

  • web hosting web development for beginners

  • web hosting web development understand and create great websites

  • web hosting which is the host with the most

  • web hosting woes for beginners by arun tibrewal www i wayhost net

  • web hosts helping us navigate through this future techno world

  • web host ethics

  • web legalities bandwidth stealing

  • web package hosting researching different alternatives

  • web services interoperability

  • web site basics

  • web site hosting an easy guide

  • web site hosting for your business free or paid

  • web site hosting plan key elements

  • web site is email newsletters best friend

  • web site maintenance

  • web site maintenance made easy

  • web site management statistics

  • web site management watching your visitors

  • web site marketing strategy article submission to article directories

  • web site promotion advertising your website for profits

  • web statistics

  • web stats where its at

  • web surfing 404 errors

  • web surfing isp tips

  • web templates for company or commercial use

  • whats wrong with my website

  • what do your web stats mean

  • what is a web host reseller account

  • what is a web service

  • what is website monitoring all about

  • what is web hosting

  • what is web site monitoring all about

  • what makes a good web hosting provider

  • what some web hosts dont want you to know

  • what to look for in a web host

  • what to look for in a web hosting company

  • what type of web hosting is best for you

  • where have all the web content sites gone

  • where on earth is your websitee

  • where to find free quality content for your website

  • where to get cheap web hosting

  • which web host is right for you

  • which web host should i choose to host my business site

  • whose web site is it anyway

  • who controls the web a brief history of the internet

  • who should become a web host reseller

  • why a web site and why web hosting

  • why do i need video and or audio on my website

  • why it is easier than ever to own and run several websites

  • why should my business develop a website

  • why top earning affiliates have their own domains and websites

  • why use virtual dedicated web hosting

  • why web hosts and isps need web site monitoring

  • why your web host could be out of business tomorrow

  • your web host could be the reason why you are a sitting duck for a ddos attack

  • you do have a web site dont you