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:
#!/usr/bin/perl
but could be:
#!/usr/local/bin/perl
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.
3. Uploading
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:
http://www.yourdomain.com/cgi-bin/script.cgi
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.
More Information:http://www.cgiscriptcenter.com/subscribe/index2.html
-----------------------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.
More Information:http://www.robplanet.com/cgi/tracker/
-----------------------AdRotate Pro-----------------------
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: http://www.vanbrunt.com/adrotate/
-----------------------MasterRecommend---------------------- -
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).
More Information:http://www.willmaster.com/master/recommend/MasterRecommendmanual.html
------------ -----------Master Auto-Responder-----------------------
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.
More Information:http://mastercgi.com/howtoinfo/howautoresponderswork.shtml
If you need more help installing your CGI scripts, hereare two excellent free tutorials:
http://spider-food.net/install-a-cgi-script.htmlhttp://www.stefan-pettersson.nu/scr ipts/tutorials/installcgi.html
------------------------------------------------------------
Michael Southon has been writing for the Internet for over 3
years. He has shown hundreds of webmasters how to use this
simple technique to build a successful online business. Click
here to find out more: http://ezine-writer.com/
------------------------------------------------------------
Seeing is believing. Unless your website visitors can experience your... Read More
I read a lot of newsletters. Some are great and... Read More
As editor/publisher of Book Promotion Newsletter, I am fortunate in... Read More
Have you been publishing an e-mail newsletter for at least... Read More
More and more companies are finding the value in informational... Read More
Imagine you are sitting at home relaxing reading a book... Read More
Ever wonder how a "guru" earns $3,546 or more just... Read More
1. Make your ecourse short like 5 - 7 days.... Read More
What an ezine is ? An ezine is an electronic... Read More
I received a very good question from a subscriber and... Read More
The first thing you should consider in advertising is the... Read More
Writing a newsletter or article can be very time consuming.First,... Read More
It is true that sometimes in life there is a... Read More
Have you ever wondered what would it take to compete... Read More
Many online internet marketers tell us "its all in the... Read More
If my in-box is any indication, most of the business... Read More
Time, of course, doesn't stand still and never did, and... Read More
Well, it is definitely yes!In the early day of internet... Read More
I'm amazed!Everywhere I go on the Web, people are desperately... Read More
We all know that an e-zine won't attract and keep... Read More
The deadline approaches and your ad STILL has not sold.... Read More
Good newsletter names are usually 2-4 words. If shorter, they... Read More
Print on demand (POD), a cross between self-publishing and digital... Read More
Branding, or brand marketing as some now call it, is... Read More
Formatting your text newsletter correctly can make a failure into... Read More
1. You'll brand your web site, business and yourself by... Read More
Remember that when you have new visitors at your website,... Read More
If you run your own business like I do, you... Read More
There are 5 basic keys you need for your ezine... Read More
Have you ever accidentally lost an important file on your... Read More
If you want to have an online business, without doubt,... Read More
1. Give Incentives Give people an incentive to subscribe to... Read More
When I meet an author with a great book concept,... Read More
The theory of writing for newsletters is very similar to... Read More
There are 5 basic keys you need for your ezine... Read More
Are you doing "the bounce"? No, it's not a new... Read More
Time, of course, doesn't stand still and never did, and... Read More
WHY DO WE DO THIS?A major "character" in Mark Salzman's... Read More
Ever wonder how a "guru" earns $3,546 or more just... Read More
Who doesn't want to make money online? Internet is here... Read More
Managing Subscriber addresses: At the top of your email message... Read More
Seeing is believing. Unless your website visitors can experience your... Read More
As many people know Industry Trade Journals in America have... Read More
During the free e-zine publishing teleclasses I offer every month,... Read More
Ezine are one of the best source of information on... Read More
What an ezine is ? An ezine is an electronic... Read More
1. Fear Of Having Nothing To SayAs a small business... Read More
The future of email Newsletter - Llando Ford 07.28.2004 What... Read More
Imagine you are sitting at home relaxing reading a book... Read More
You Have Won! Hold an ongoing prize drawing... Read More
"E-Book" is short for Electronic Book---an organized set of content... Read More
What's the point in spending hours preparing a newsletter, message... Read More
1. Time saver. To get going make a quick visit... Read More
When I say free ezine advertising, I'm not talking about... Read More
Why I started this E- ZineSit back, and travel with... Read More
If you've been promoting your business on the internet you've... Read More
Formatting your text newsletter correctly can make a failure into... Read More
My story is that an author who'd done online writing... Read More
How would you like to reach millions of people with... Read More
You can use Word newsletter templates for both Word and... Read More
There are thousands of email newsletters or "ezines" produced every... Read More
A good newsletter template is not only consisted of a... Read More
Everything successful needs to be built on a solid, confident... Read More
If you have been an internet marketer, or had any... Read More
Calling all publishers, editors, journalists and freelance writers. It's time... Read More
Having a newsletter is one thing but how many subscribers... Read More
Ezine Publishing |