Why Arent You Using CGI?
The very name CGI used to send chills up my spine. Foryears I put it in the 'too-hard-basket'. But like mostthings in life, CGI is not as scary as it seems. Ifyou have a cgi directory on your website and you knowhow to FTP files, chances are you can have a CGIscript up and running in less than 20 minutes.
CGI (Common Gateway Interface) is not a programminglanguage but a standard that allows visitors tointeract with your website. CGI scripts can be writtenin a number of different languages but most arewritten in Perl (Practical Extraction and ReportingLanguage).
This article gives you details of five free CGI scriptsthat will do the following:
1. Mail out your Newsletter from your server 2. Track the number of times your free E-Book is
downloaded 3. Rotate banners on your website 4. Create your own auto responders 5. Allow visitors to recommend your website to friends
At the end of this article are details of where todownload these 5 free scripts. But first, here aresome basic guidelines on how to configure and installCGI scripts:
1. CGI programs usually come in a zip file. Unzip thefile and open the README file. This document will giveyou instructions for configuring the program file.
2. Open the program file using a text editor such asNOTEPAD (the program file will usually have the fileextension .cgi but may have other extensions such as.pl).
In most CGI programs you will have to configure thefollowing 4 items:
(a) the path to perl
This is where the perl program resides on your server.The path will usually be:
but could be:
If you're unsure what your 'path to perl' is, checkyour web host's online 'manual' or FAQs. If you can'tfind it there, simply ask your web host.
(b) the path to sendmail
Most CGI programs notify you when your visitors havecompleted a particular action, and for that, theprogram needs to know where the 'sendmail' programresides on your server. The path to your UNIX sendmailprogram will usually be: /usr/sbin/sendmail
But it could also be something like this:/usr/lib/sendmail
Again, check the documentation on your web host'swebsite, or simply ask your web host.
(c) the absolute path to your CGI directory
The absolute path tells the CGI program exactly whereto find the file (or files) that it needs to open.Unfortunately, the absolute path to your CGI directoryis not something you will be able to guess or deduce -it is completely arbitrary and depends entirely on howthe system administrator at your web host haspartitioned your host's hard drive.
The easiest way to find out your absolute path is toask your web host. Another way is by using telnet -just type in pwd (print working directory) and thatshould give you your absolute path.
(d) Your email address
This is the address that the CGI program will use tonotify you when an action has been completed.
Upload the program files to your cgi-bin (or adirectory off your cgi-bin) using ASCII mode. Neveruse BINARY mode, as this will play havoc with theline-breaks in the script.
4. Set the File Permissions using CHMOD
CHMOD (changing mode) is the term for setting securitypermissions on files. The README file will usuallytell you the permissions that you need to set for eachfile. The script file will need to be set to 755. Thisallows the file's owner to read, write, and executethe file; anyone else can only read and execute it.
You can set the permissions using telnet, but theeasiest way is to use the built-in option in your FTPprogram.
5. Calling the Script
Now that you've configured the script, uploaded it andset the permissions, it's time to try it out! You dothis by 'calling the script' using a URL in an HTMLdocument. This is what the URL for calling your scriptwill normally look like:
Again, the README file should have specificinstructions on how to call the script. In addition,most CGI programs are accompanied by a web pagethat contains the form your visitors would use tocall the script.
And now here are the details of the 5 free CGIscripts I mentioned earlier:
-----------------------Subscribe Me Lite-----------------------
Subscribe Me Lite is a program that allowsprospects/customers to automatically subscribe and/orunsubscribe themselves from your mailing list. It hasa built-in mass mailing form for sending out yournewsletter or updates.
-----------------------Rob's File Tracker-----------------------
Rob's File Tracker is a perl script that counts filedownloads or click-thrus to any file. Very useful ifyou want to know how many people are downloading yourfree E-Book.
AdRotate Pro is an ad rotation program that's easy tosetup and easy to use. Features include unlimitedrotations, expiry by date, views or clicks, defaultads for when all ads are expired, and customerreports.
More Information: vanbrunt.com/adrotate/
This script allows visitors to recommend your websiteto a friend by sending an email, without leaving yourwebsite. The program will also send you a copy of yourvisitor's message (nice to know what your visitorsthink about your website).
This is a standard auto-responder program. Thescript allows you to set the "From:" and "Subject:"lines for your auto-response.You can also choose toreceive a copy of each email that the auto-responderreceives.
If you need more help installing your CGI scripts, hereare two excellent free tutorials:
Top 7 Techniques For Generating Subscribers To A Newsletter
Imagine you are sitting at home relaxing reading a book and sipping on ice cold lemonade, your friend calls you up to tell you about a new product on the market.You can't help but get excited because you know your subscribers will be interested!After signing up for the products affiliate program you send a recommendation of that product to your subscribers and instantly net yourself some cash just by pressing the SEND button! Not only that but your customers actually say 'Thanks for pointing me in the right direction!' Does this sound like fun to you?If it does then read below, as this is the Number 1 marketing strategy you need to implement to be continuously successful online.
Ezines, Ezines Everywhere!
There are literally thousands of ezines being published online these days. Sometimes it is hard to know which ones are best for advertising in, reading, subscribing to and so on.
How To Increase Your Sales From Your Newsletter
The first and most important thing you should know when thinking of your own newsletter is that YOU can do it. Yes, you can write your own newsletter.
The Power of Personality
Owning an online business and publishing an ezine can be very frustrating, AND rewarding! There can be 100's or even 1000's of websites and/or ezines that are almost exactly like yours. What can you do to make your online business stand out from the rest?The number one answer to this question is - add your own personality to your business and in your ezine.
Some Things I Have Learned About the Exciting World of Ezines
1. Don't ever stop advertising for new subscribers.
Write Your Weekly Ezine in 5-Minutes! (or better yet, dont write it at all)
How to write your ezine in 5 minutes by legally and ethically stealing other people's articles..
Five Solid Reasons To Publish Your Ezine In a Blog!
Get Your Ezine 'Out There'!Placing your ezine in a Blog or a RSS Feed only takes minutes to do. It's easy, fast and free.
Good News About Getting Published
So you want to get a book published and add "author" to your resume. A decade ago, there weren't too many options for professionals and consultants to get into print.
Why I Started My Ezine
Why I started this E- ZineSit back, and travel with me.I discovered my need to write and gather inspiring stories about baseball as I drove on route 80 in Northern New Jersey in February 2004.
Employee Newsletter Ideas - 7 Creative Ideas for Your Employee Newsletter
Employee newsletters are an effective tool to communicate with your employees. Here are 7 employee newsletter ideas.
Why Do We Publish?
WHY DO WE DO THIS?A major "character" in Mark Salzman's first autobiography is his father. Sometimes his father paints.
An Embarrassment of Riches - Part I
The Internet is too rich. Even powerful and sophisticated search engines, such as Google, return a lot of trash, dead ends, and Error 404's in response to the most well-defined query, Boolean operators and all.
Should You Upgrade Your E-zine From Text to HTML?
A few years ago, when I first started seeing HTML e-zines in my inbox, I admit I was jealous. They were attractive, attention getting, snazzy.
Self Publishing At The Speed Of Thought
Publishing, both electronic and hard copy, from articles to books, has come a long way in recent years. I used to be fascinated by anyone who had become a "real" author of a book.
10 Valuable Tips For Ezine Publishers
1. Write your own articles.
How To Make Money Online With A Newsletter
Many online internet marketers tell us "its all in the list" and many people lap up stories of guru's emailing thousands in their online list and making a huge profit in the process. Actually you too can start your own email list and make money from it as well.
5 Keys To A Successful Ezine
There are 5 basic keys you need for your ezine to be successful and here they are though not necessarily in this order.1- HostingYou need good reliable hosting for your website.
Create An Ezine To Get People Back To Your Site
I know you've worked hard on your website. I know it looks pretty good - in fact, it's fantastic.
Publishing Special Reports And Ebooks At No Cost
So you'd like to start publishing special reports and ebooks to use as marketing tools and to sell as products. But you have no budget to get this new venture going.
Email Newsletter Format: HTML or Text
An email newsletter is probably the most effective way to communicate with your target audience. One of the main considerations before you create and deliver an email newsletter is what format to use: HTML or Text.
|home | site map|