Directory Menu Information

 

Iraqi Officials: Iran Shells Kurdish Villages in Northern Iraq
Category:
 

Directv Makes Recording So Easy
Category:
 

Take This First Step to Overcoming Shyness and Gaining Poise!
Category:
 

Airports In India: Take On To Your Destination
Category:
 

Who is This Successful Online Entrepreneur?
Category:
 

Internet Marketing Technique - Advice and Information on How To ...
Category:
 

Improve Your Finances And Your Life With The Best Personal Loan ...
Category:
 

World's rarest Lambo goes on sale, Volkswagen introduces all new...
Category:
 

Beautiful Paint Color Ideas For Kids Bedrooms
Category:
 

A Beginner's Guide to Online Dating...Getting Started
Category:
 

Making money with Your Publications
Category:
 

Create a Cowboy Western Theme Room In 6 Easy Steps
Category:
 

Beautiful Canvas printing is a masterpiece
Category:
 

Nokia N73: Shoot quality pictures on the go
Category:
 

What does Bodie Miller Have to Do with Your Success?
Category:
 

This Is Why You Need A Discount Dental Plan
Category:
 

Automakers Connect With Hip, Young NETizens
Category:
 

Bingo Payouts and Jackpots
Category:
 

Only Child Parenting - Getting The Balance Right
Category:
 

Working For Your Customer
Category:
 

Think Before Buying a Home
Category:
 

Step Parenting And The Problems Of Sharing Authority
Category:
 

Internet Advertising Company - Growing Big & Better
Category:
 

The Best Feng Shui Products Sites on the Web
Category:
 

Is Weight Loss Always Healthy and Required?
Category:
 

Save your Offshore Outsourcing Projects - Some Tips
Category:
 

Types Of Mesothelioma
Category:
 

Is a new poker table on the cards?
Category:
 

Pursue Your Home Business Dreams, Scam Free
Category:
 

Use a NTP Server To Keep Precise Network Time
Category:
 

Using A Georgia Realtor
Category:
 

Michael Buble Totally Buble Pop Music CD Review
Category:
 

Guide to Children's Accident Claims
Category:
 

Turn Up Your Listening Skills During the Job Interview
Category:
 

Exercises during Mental Problems
Category:
 

The Exciting Prospects Of Successful Internet Marketing For Your...
Category:
 

Rebuild Credit Profile, Maintain Good Credit, and Get Credit aft...
Category:
 

Importance of Online Business Directory for Online Businesses
Category:
 

Rise in sales at Junk Yards
Category:
 

Rooms in Edinburgh: for checking out the lists of luxury hotels ...
Category:
 

What To Expect In A Customer Service Course
Category:
 

Offset Printing: The Low-Cost Way to Market Your Business
Category:
 

Sciatica Pain Relief
Category:
 

SEO Tips Which Everyone Should Know
Category:
 

Puppy Teeth Need More Than Human Fingers To Chew On
Category:
 

Weight Loss - Food combination for weight loss
Category:
 

A Successful Balance of Work
Category:
 

Samsung Armani: The designer handset
Category:
 

A 2-Step Plan For Paying Off Debt
Category:
 

Lesley Ash Awarded £5 Million Compensation For Hospital Bug - 17...
Category:
 

How to Play Lotto
Category:
 

Secret of Home Mortgage Refinancing
Category:
 

Search Engine Optimization (SEO) Losing Ground?
Category:
 

Seek Ideal Integrated Social Networking Strategies with Michael ...
Category:
 

Seeking integrated social networking? Michael Hendrix is ready t...
Category:
 

Selling Strategy in Slow Real Estate Markets
Category:
 

Send Corporate Gifts Online To Make Strong Relationship with Cli...
Category:
 

Why A Gas Mileage Calculator Is An Important Gadget For Yo...
Category:
 

With a San Francisco limo- Travel in style!
Category:
 

An After-Closing Letter That Asks For More Mortgage Referrals
Category:
 

Sixth Sense And Your Cheating Husband
Category:
 

Cashing In Order To Cash Outsourcing
Category:
 

Secured loans ensuring the financial stability
Category:
 

Enjoy San Juan Puerto Rico's Luxurious Culture
Category:
 

Pain Relief Without Drugs
Category:
 

Croatian Protesters Urge President Bush to Stay Away
Category:
 

Successful Landscape Contractor – A Perfect Balance of Talent & ...
Category:
 

Surefire Ways To Boost Your Credit Scores
Category:
 

Sussidiario.it gestirà la campagna SEO di Soscartucce.it
Category:
 

EU Warns Russian Parliament on Georgia's Abkhazia Region
Category:
 

Home Business Systems You May Require
Category:
 

An Overview of MLM Compensation Plans
Category:
 

Music, Movies and Portables Are Alive and Well
Category:
 

Covering The Bases: Home Buying
Category:
 

The Main Causes Of Headache During Pregnancy
Category:

How to Install a CGI Script and Increase Web Site Interactivity Sponsored Links

How to Install a CGI Script and Increase Web Site Interactivity


You may have delayed cgi script installation due the
apparently complex process.

By Herman Drost
Category: 0

Submit your Articles Here!


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><br></head><br><body bgcolor="#FFFFFF" text="#000000"><br><form method="post" action="http://www.yourdomain.com/<br>cgi-bin/contactus.pl"><br><input type=hidden name="recipient" value="siteowner"><br><input type=hidden name="subject" value="Subscribe Me Please"><br><input type=hidden name="required" value="fullname,email"><br><input type=hidden name="redirect" value="http://www.yourdomainname.com hankyou.htm"><br>Full Name<br><br><input type=text name="fullname"><br><br><br>Email Address<br><br><input type=text name="email"><br><br><br><br>Comments<br><br><textarea name="comments">< extarea><br><br><br><br><br><input type="submit" name="Submit" value="Submit"><br></form><br></body><br></html><br><br>10. Create a confirmation page (ie thankyou.htm) - this<br>will automatically thank people for filling in your form.<br>It can be a simple html page with the comments "Thank you<br>for your interest. We will respond shortly".<br><br>Uploading the cgi script and html email form.<br><br>Use your favorite FTP program for uploading to your server<br>(I use SmartFTP.com which you can download for free).<br><br>11. Set permissions to 755 - in SmartFTP right click on the<br>script file you wish to upload, click on Properties/CHMOD<br>and set the permissions to 755.<br><br>12. Upload the cgi script - there are two modes of<br>uploading, ASCII and Binary. Upload the cgi script<br>(contactus.pl) and any txt files in ASCII mode. Upload the<br>script to the cgi-bin folder. If you don't follow this you<br>will not be able to execute the script.<br><br>13. Upload the html form and any image files like .jpg or<br>.gif in Binary mode.<br><br>14. Test your cgi script by filling out the html email form<br>and submitting it. You should receive an immediate<br>confirmation.<br><br>By adding interactivity to your web site using a cgi<br>script, you can expand the functions of your web site and<br>create a more interesting experience for your visitors.<br>This will keep them coming back and help you stay ahead of<br>your competitors.<br><br>Resources<br><br>Formmail script <br><a href="http://nms-cgi.sourceforge.net/formmail.zip">http://nms-cgi.sourceforge.net/formmail.zip</a><br><br>Free CGI scripts <br>Scriptarchive.com <br>Hotscripts.com<br>cgi-resources.com<br><br><P> About the Author <p>Herman Drost is the Certified Internet Webmaster (CIW)<br>owner and author of iSiteBuild.com Affordable Web Hosting<br>Plans from $30/year <a href="http://www.isitebuild.com/sitehosting">http://www.isitebuild.com/sitehosting</a><br>Subscribe to his insightful ?Marketing Tips? newsletter for<br>more original articles. mailto:subscribe@isitebuild.com<br></div><br><br></td> <P> <table border=0 hspace=10 vspace=10 ><tr><td> <script type="text/javascript"><!-- google_ad_client = "pub-6254916237007897"; google_hints="How to Install a CGI Script and Increase Web Site Interactivity, "; google_ad_width = 200; google_ad_height = 90; google_ad_format = "200x90_0ads_al_s"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "000000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td></tr></table> </FONT> <P> <table border=0> <tr><td> <font face=arial size=3 color=aaaaaa> How to Install 0 Subcategories</font> <p> <font face=arial size=2> <a href="/Arts_And_Humanities_Art_History.html">Arts & Humanities > Art History > </a><br> <a href="/Arts_And_Humanities_Web_Directories.html">Arts & Humanities > Web Directories > </a><br> <a href="/Business_And_Economy_History.html">Business & Economy > History > </a><br> <a href="/Business_And_Economy_Statistics_and_Indicators.html">Business & Economy > Statistics and Indicators > </a><br> <a href="/Business_And_Economy_Web_Directories.html">Business & Economy > Web Directories > </a><br> <a href="/Computers_And_Internet_Desktop_Customization.html">Computers & Internet > Desktop Customization > </a><br> <a href="/Computers_And_Internet_Desktop_Publishing.html">Computers & Internet > Desktop Publishing > </a><br> <a href="/Computers_And_Internet_History.html">Computers & Internet > History > </a><br> <a href="/Computers_And_Internet_Semiconductors.html">Computers & Internet > Semiconductors > </a><br> <a href="/Computers_And_Internet_Web_Directories.html">Computers & Internet > Web Directories > </a><br> <p> <font face=arial size=3 color=aaaaaa> How to Install 0 Articles</font> <p> <font face=arial size=2> <a href="http://www.linkgrinder-directory.com/tutorials/_My_Stinking_Belly_Gets_in_the_684823_0_article.html">My Stinking Belly Gets in the Way When I Stretch My Lower Back - Time to Lose the Belly Fat</a> by S.L. Welch<br> <a href="http://www.linkgrinder-directory.com/tutorials/_20_Plus_Lean_Body_Foods_A_684798_0_article.html">20 Plus Lean Body Foods-A Look at Some Great Fat Loss Essentials</a> by S.L. Welch<br> <a href="http://www.linkgrinder-directory.com/tutorials/_How_to_Maintain_Battery_Smoke_Detectors_684786_0_article.html">How to Maintain Battery Smoke Detectors</a> by Robert Bell<br> <a href="http://www.linkgrinder-directory.com/tutorials/_How_to_Access_Facebook_From_School_684553_0_article.html">How to Access Facebook From School or at Work</a> by Gen Wright<br> <a href="http://www.linkgrinder-directory.com/tutorials/_Food_Poisoning_Symptoms_How_to_Prevent_684327_0_article.html">Food Poisoning Symptoms, How to Prevent Food Poisoning</a> by Peter Hutch<br> <a href="http://www.linkgrinder-directory.com/tutorials/_How_to_Overcome_Gastritis_684258_0_article.html">How to Overcome Gastritis</a> by Rich jammes<br> <a href="http://www.linkgrinder-directory.com/tutorials/_Is_Bankruptcy_Right_for_you_684117_0_article.html">Is Bankruptcy Right for you?</a> by mehendale niteen<br> <a href="http://www.linkgrinder-directory.com/tutorials/_How_to_Know_if_You’ll_Make_684025_0_article.html">How to Know if You’ll Make a Good Police Officer</a> by Jennifer Charleston<br> <a href="http://www.linkgrinder-directory.com/tutorials/_font_face_verdana_p_b_How_684023_0_article.html"><font face="verdana"><p> <b>How to choose the right kind of battery for your car</a> by AutoTerminal .com<br> </font> </td></tr> </table> </td></tr></table> </td></tr></table> <BR> </BODY> </HTML> <! Replace 'Heading' font tag > <! Replace 'ErrorText' font tag > <! Replace 'Standard' font tag > <! Replace 'smallabel' font tag > <! Replace 'data' font tag > <! Replace 'SubHeading' font tag > <! Replace 'SmallBold' font tag > <! Replace 'Error' font tag >