Sourceofarticles.com Menu
Newest Articles
Most Viewed Articles
Sourceofarticles.com RSS
Submit Article
Login
Signup
Search the articles

Articles Main Categories
Advice
Animals
Automobiles
Business
Career
Communications
Computer Programming
Computers
Entertainment
Environment
Family
Fashion
Finance
Food
Health & Medical
Home & Garden
Humor
Internet Business
Internet Marketing
Legal
Leisure & Recreation
Marketing
Other
Politics
Reference & Education
Religion
Self Improvement
Sports
Technology & Science
Travel
Writing
Subscribe
Receive alert message from us when new articles submitted to our site for free.

Enter your name

Enter your email

Syndicate

















Related Products
Pink Color Wood Flower Bead Bracelet 12 pcs Fashion New
US $0.99 (0 Bid)
End Date: Friday Nov-21-2008 10:02:45 PST
Bid now | Add to watch list

FASHION GOLD SKELETON MECHANICAL MEN BLK LEATHER WATCH
US $4.26 (0 Bid)
End Date: Friday Nov-21-2008 10:03:22 PST
Bid now | Add to watch list

14K HGE 7CT STRONG FASHION DIAMOND SIMULATED SZ5 RING
US $7.99 (0 Bid)
End Date: Friday Nov-21-2008 10:03:23 PST
Bid now | Add to watch list

Timex Fashion Classics 78677 Wrist Watch
US $18.00
End Date: Friday Nov-21-2008 10:03:57 PST
Buy It Now for only: US $18.00
Buy it now | Add to watch list

Surfer Fashion Jewelry Hemp Mens/Women Bracelet/Anklet
US $6.99 (0 Bid)
End Date: Friday Nov-21-2008 10:05:00 PST
Buy It Now for only: US $6.99
Bid now | Buy it now | Add to watch list

PLUS SIZE CAMISOLE/TANK WITH BUILT-IN BRA FASHION BUG1X
US $4.50 (0 Bid)
End Date: Friday Nov-21-2008 10:05:39 PST
Buy It Now for only: US $6.75
Bid now | Buy it now | Add to watch list

VINTAGE UNDER-LINERS #1821 BARBIE FASHIONS CLOTHES
US $15.50 (6 Bids)
End Date: Friday Nov-21-2008 10:05:39 PST
Bid now | Add to watch list

FASHION GIRL OPEL BICYCLE CYCLES DIE SIEGERIN POSTER RE
US $4.95 (0 Bid)
End Date: Friday Nov-21-2008 10:06:28 PST
Bid now | Add to watch list

FASHION WHITE SKELETON MECHANICAL MEN LEATHER WATCH
US $4.26 (0 Bid)
End Date: Friday Nov-21-2008 10:06:30 PST
Bid now | Add to watch list

New Fashion Men Dress Shoes Loafer Alligator Brown 8.5
US $22.99 (0 Bid)
End Date: Friday Nov-21-2008 10:06:50 PST
Buy It Now for only: US $27.99
Bid now | Buy it now | Add to watch list

*NEW* 4 - FASHION BUG 50% Any Item Coupons Dec 2009!
US $2.04 (4 Bids)
End Date: Friday Nov-21-2008 10:06:55 PST
Bid now | Add to watch list

Home::CGI

Why Aren't You Using CGI

Author : Michael Southon

The very name CGI used to send chills up my spine. For years I
put it in the 'too-hard-basket'. But like most things in life,
CGI is not as scary as it seems. If you have a cgi directory on
your website and you know how to FTP files, chances are you can
have a CGI script up and running in less than 20 minutes.

CGI (Common Gateway Interface) is not a programming language but
a standard that allows visitors to interact with your website.
CGI scripts can be written in a number of different languages
but most are written in Perl (Practical Extraction and Reporting
Language).

This article gives you details of five free CGI scripts that
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 to download
these 5 free scripts. But first, here are some basic guidelines
on how to configure and install CGI scripts:

1. CGI programs usually come in a zip file. Unzip the file and
open the README file. This document will give you instructions
for configuring the program file.

2. Open the program file using a text editor such as NOTEPAD
(the program file will usually have the file extension .cgi but
may have other extensions such as .pl).

In most CGI programs you will have to configure the following 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, check your web
host's online 'manual' or FAQs. If you can't find it there,
simply ask your web host.

(b) the path to sendmail

Most CGI programs notify you when your visitors have completed a
particular action, and for that, the program needs to know where
the 'sendmail' program resides on your server. The path to your
UNIX sendmail program 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's website, or
simply ask your web host.

(c) the absolute path to your CGI directory

The absolute path tells the CGI program exactly where to find
the file (or files) that it needs to open. Unfortunately, the
absolute path to your CGI directory is not something you will be
able to guess or deduce - it is completely arbitrary and depends
entirely on how the system administrator at your web host has
partitioned your host's hard drive.

The easiest way to find out your absolute path is to ask your
web host. Another way is by using telnet - just type in pwd
(print working directory) and that should give you your absolute
path.

(d) Your email address

This is the address that the CGI program will use to notify you
when an action has been completed.

3. Uploading

Upload the program files to your cgi-bin (or a directory off
your cgi-bin) using ASCII mode. Never use BINARY mode, as this
will play havoc with the line-breaks in the script.

4. Set the File Permissions using CHMOD

CHMOD (changing mode) is the term for setting security
permissions on files. The README file will usually tell you the
permissions that you need to set for each file. The script file
will need to be set to 755. This allows the file's owner to
read, write, and execute the file; anyone else can only read and
execute it.

You can set the permissions using telnet, but the easiest way is
to use the built-in option in your FTP program.

5. Calling the Script

Now that you've configured the script, uploaded it and set the
permissions, it's time to try it out! You do this by 'calling
the script' using a URL in an HTML document. This is what the
URL for calling your script will normally look like:

http://www.yourdomain.com/cgi-bin/script.cgi

Again, the README file should have specific instructions on how
to call the script. In addition, most CGI programs are
accompanied by a web page that contains the form your visitors
would use to call the script.

And now here are the details of the 5 free CGI scripts I
mentioned earlier:

----------------------- Subscribe Me Lite
-----------------------

Subscribe Me Lite is a program that allows prospects/customers
to automatically subscribe and/or unsubscribe themselves from
your mailing list. It has a built-in mass mailing form for
sending out your newsletter 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 file downloads
or click-thrus to any file. Very useful if you want to know how
many people are downloading your free E-Book.

More Information: http://www.robplanet.com/cgi racker/

----------------------- AdRotate Pro -----------------------

AdRotate Pro is an ad rotation program that's easy to setup and
easy to use. Features include unlimited rotations, expiry by
date, views or clicks, default ads for when all ads are expired,
and customer reports.

More Information: http://www.vanbrunt.com/adrotate/

----------------------- MasterRecommend -----------------------

This script allows visitors to recommend your website to a
friend by sending an email, without leaving your website. The
program will also send you a copy of your visitor's message
(nice to know what your visitors think about your website).

More Information:
http://www.willmaster.com/master/recommend/MasterRecommendmanual.
html

----------------------- Master Auto-Responder
-----------------------

This is a standard auto-responder program. The script allows you
to set the "From:" and "Subject:" lines for your
auto-response.You can also choose to receive a copy of each
email that the auto-responder receives.

More Information:
http://mastercgi.com/howtoinfo/howautoresponderswork.shtml

If you need more help installing your CGI scripts, here are two
excellent free tutorials:

http://spider-food.net/install-a-cgi-script.html
http://www.stefan-pettersson.nu/scripts utorials/installcgi.html


Related articles


  1. 5 CGI Scripts You Must Use to Turn Your Site Into a Powerhouse
  2. Clever Profit Growth Software
  3. Why Aren't You Using CGI
  4. Use CGI to Automate Your Web Site
  5. CGI: What the Heck Is That?
  6. CGI Security Issues
  7. How to Stop Digital Thieves with CGI
  8. Quick Intro to PHP Development
  9. Better Writing: What Works and What Doesn't
  10. Password Protection and File Inclusion With PHP
  11. Autoresponders With PHP
  12. Track your visitors, using PHP
  13. PHP On-The-Fly!
  14. PHP and Cookies; a good mix!
  15. Screen scraping your way into RSS
  16. Mastering Regular Expressions in PHP
  17. ASP, CGI and PHP Scripts and Record-Locking: What Every Webmaster Needs To Know
  18. Open Source Scripts
  19. this is a test
  20. An Extensive Examination of the PHP:DataGrid Component: Part 1
  21. PHP:Form Series, Part 1: Validators & Client-side Validation
  22. Design an Online Chat Room with PHP and MySQL
More related feeds
Why+Arent+You+Using+CGIhttp://blogsearch.google.com/blogsearch_feeds?hl=en&q=Why+Arent+You+Using+CGI&ui=blg&ie=utf-8&num=10&output=rssLinux.com :: Speed up your Internet access using Squid's refresh ...
Unfortunately, they are not cacheable because they offer partial responses (http return code 206), which Squid presently does not cache. Where you have control over the client machines, you can install Microsoft's Update Server to ...

Can Spot.Us maintain our attention and bring journalism to the ...
EW: Can you talk me though how you organise your staffers? Spot.Us is not a newsroom. It is a platform or Internet tool. All pitches on Spot.Us are from freelance journalists in the Bay Area. They are not staff reporters for Spot.Us. ...

Gmail Just Got Better
(And not the silly forwarding mess that essentially relies on your host to forward the emails to Gmail). So there you go. I could keep going on about it, but I figure by now if you aren’t ready to try it or already have it, your loss! ...

Brownstoner: Stoop Drinking Still Illegal
ETA: what about stoop sales? why arent those illegal then? if you can be a vendor on one street, why can you sell your warez on another claiming it's a stoop sale? is it because the stoop is private and a street is not? but most stoop ...

Helen Jones-Kelley Suspended without Pay for Illegal Joe the ...
If you can't admit you did something wrong, you are not apologizing. 1. Posted by George | November 21, 2008 9:28 AM | Vote up Vote down Report this comment Score: 1 (1 votes cast). Posted on November 21, 2008 09:28 ...

Real Estate Investors Want Foreclosure Leads | Work at Home
Legitimate Work from Home Opportunity Can you get instantly rich in a legitimate work from home opportunity? No, and if you think about it the idea is, well, a little juvenile. You are pretty aware of what scams are, aren?t you? ...

This will offend you - Ta-Nehisi Coates
By using this service you agree not to post material that is obscene, harassing, defamatory, or otherwise objectionable. Although The Atlantic does not monitor comments posted to this site (and has no obligation to), it reserves the ...

PHP, MySQL, Perl, CGI, Ruby.
Hellen, DON'T SPAM THIS BOARD! THIS IS "PROBLEM SOLVERS"......AND IF YOU DON'T HAVE A PROBLEM, THEN DON'T POST HERE. ... PHP, MySQL, Perl, CGI, Ruby. Post new topic · General Reply to Topic (not reply to a specific post) ...

links for 2008-11-20 | Home Based Business
There is of course another option to hire the services of someone to do this job, but aren't you the person who knows his market better for your computer home based business? All you need to do is to put yourself in the shoes of your ...

Work at Home 57 | Work at Home
Work From Home Using Forums Want to maximize your effect on a target audience and get some exposure for you work from home business? Utilize the Forums. There.

 


 

© 2008 sourceofarticles.com - All Rights Reserved