Casual Articles
#1 in Business Subscribe Email Print

You are here: Home > Internet and Businesses Online > Ezine Publishing > Why Aren't You Using CGI?

Tags

  • research
  • instructions
  • manual
  • chmodchmod changing
  • hosts website

  • Links

  • Coin Collection Folders Help Protect Your Valuable Coin Collection
  • How to Buy a Home with Good Feng Shui
  • Individual Dental Insurance
  • Casual Articles - Why Aren't You Using CGI?

    Indian Pharmaceutical Compa­nies
    Storm clouds are hovering in the drug research domain where Indian companies have raked in the moolah from a string of successful discoveries.Research costs are on the rise and the chances of suc­cess in discoveries are less. The time to develop new drugs has also lengthened. A few years ago, it took around two years to launch a new drug; it now takes over six after approvals and clinical trials.According to Paresh Vaish, director of the Boston Con­sulting Group, the cost of re­search is rising. The cost would be $2.3 billion in 2010 from $1.5 billion now, he said.Vaish, who analyses drug trends, said a company launched only one drug from a pipeline of eight molecules be­tween 1995 and 2000. It is one from 13 molecules now.Like the global majors, In-3ian pharm
    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 f

    What is a Key Indicator and How Will it Impact my Business?
    Key Indicator, as referred to in this article, applies to both KPI: Key Performance Indicators and KSI: Key Strategic IndicatorsKey Indicators allow you to track the health, growth and performance of your business. By looking at what values are important, then tracking and measuring them over time, you can determine exactly where you are in your progress towards your business development goals.Most business owners believe they have a ‘good feel’ for the way their business is running. This is probably true but it is not really enough for your business to be successful. The Key Indicators in your business need to be developed and scheduled to track and measure your progress over time.Key Indicators can be used to track both measurable and non measurable areas of your bu
    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 fi

    How To Start an Internet Home Business
    When thinking of working from home you need to watch out for the scams out there. People want you to fill in surveys each day, or put things in envelopes, or even more mundane than that (there are worse things to be doing at home....)But you're worth more than that aren't you ?So what can do undertake at home ? Well as you are reading this, then you are already online and if you are reading then you know a bit about article sites perhaps ?Can you type? Can you write, well write about things you are passionate about ?I say this because many online ventures start off with articles. This means people writing about subjects like I am here to draw the reader in, provide some excellent information and then send them onto somewhere else.Does that sound like som
    tter 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 f

    13 Lessons in Marketing, Super Bowl Style
    Each year, the Super Bowl provides marketers opportunity to study and learn from the games' advertisers, players, and coordinators. Super Bowl XXXVI (February, 2002) was no exception. Foremost, of course, was The Game's appropriately patriotic theme. America's mettle and proud heritage were showcased to the world through this year's red, white, and blue logo; music selection by the performers; and depictions of historic U.S. icons. The Game further supported U.S. patriotism through the presence of the armed services, police department, and fire department at the game as well as interviews with troops in Afghanistan. Finally, as if by design, the unlikely Patriots won the championship.Super Bowl XXXVI provided other lessons as well -- lessons applicable to small budgets as well as l
    xtensions 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 f

    Direct Marketing Direct Marketing - Key Components of Direct Marketing
    Only a few years ago, direct marketing meant sending out thousands of letters that included an advertising offer to customer or prospect address lists and sending them through the postal system. Bulk email marketing is e-version of yesterday’s direct marketing. Today, the only thing that has changed is the means of delivery. But all the other components remain the same.As in traditional direct marketing, the “list” is still a vital component of any successful bulk email marketing campaign. You need a list and the better the list, the better the results. If you don’t have a list, you better start building one now. In all events, your list should be an opt-in list – i.e. the recipients have indicated a willingness to receive promotional email.The “offer” is another vital
    y 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 f

    Starting Your Entrepreneurial Business: Climb a Different Career Ladder
    Are You Good at Climbing? I climbed out of my crib very early, and proceeded to live a very hyperactive childhood, so I have been told by parents, aunts, elder cousins, and others who have known me my entire life. I have noticed that whenever these individuals relate this story, their pupils dilate. According to some researchers and body language experts, this means that they either find me attractive as a person, or that I am a source of anxiety. I certainly hope for the former interpretation, as it would be emotionally unhealthy for these individuals to hold a grudge, now that I have reached adulthood.Within a few months after I escaped the confines of my crib, I was climbing the stair-stepped configuration made possible by opening drawers in certain pieces of
    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/tracker/

    ----------------------- 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 ht

    HTTP = HTML link (for blogs, profiles,phorums):
    <a href="http://www.casualarticles.com/article/63648/casualarticles-Why-Arent-You-Using-CGI.html">Why Aren't You Using CGI?</a>

    BB link (for phorums):
    [url=http://www.casualarticles.com/article/63648/casualarticles-Why-Arent-You-Using-CGI.html]Why Aren't You Using CGI?[/url]

    Related Articles:

    10 Warning Signs That You're Ready for a Career Transition

    What's Your Managerial Personality?

    Basic Restaurant Customer Service Do's and Dont's

    Bookmark it: del.icio.us digg.com reddit.com netvouz.com google.com yahoo.com technorati.com furl.net bloglines.com socialdust.com ma.gnolia.com newsvine.com slashdot.org simpy.com shadows.com blinklist.com