How to install CGI / Perl Scripts on your Website

Web Hosting That Works
WebMail

Home Page

New To Websites
  Website Primer
  Site Costs

eCommerce
  About eCommerce
  Shopping Cart
  Merchant Account

Data Centers
  Web Servers
  Data Protection
  RAID & Archive

Web Hosting
  Virtual Host
  Managed
  Dedicated
  Compare Plans
  FAQ
  Cities We Serve

Domain Name
  Naming Tips
  Register

HTML
  FrontPage
  Page Design
  Images
  HTML Tags
  Color Chart

JavaScript
  Introduction
  Resourses

Database
  Database Demo
  MySQL
  DBI
  Perl
  PHP

Programming
  Perl   JavaScript
  JSP vs ASP
  Tips

CGI
  Basics
  Email Forms
  Example Form

eMarketing
  Search Engines
  Interactivity
  Marketing 101

EMail
  About Email
  OutlookExpress
  Spam Filter
  Email Viruses

FTP
  WS_FTP Program



Web Host Ratings

 



How to install a basic Perl script on a Web server

By Scott Phillips

One of the first things I learned when I began to write HTML is that it is relatively simple to create a Web site. I have always thought that, given the time and resources, I could train a monkey of average intelligence to design a simple Web site. However, what HTML lacks is the ability to enable true interactivity on a Web server. In order to make a site dynamic, enabling it to accomplish 'real' tasks, a more advanced scripting language and protocol must be used. That is the beauty of Perl and the reason it has become one of the more if not, the most popular languages on the Web.

Perl, which stands for Practical Extraction and Report Language, is an extremely portable language written to assist the programmer with common tasks with an emphasis on text manipulation. Perl is different from CGI. While Perl is a scripting language, CGI (Common Gateway Interface) is a protocol. CGI describes a process in which a client or an external program interacts with a Web server. A CGI program dictates and facilitates this interaction, or the passing of information back and forth. The majority of CGI programs are written in Perl, which explains Perl’s popularity, but they can be written in just about any language.

Assumptions & Requirements

Before I delve too far into the process, I have made two assumptions. The first and most important assumption is that you have access to a server with a version (preferably the latest) of Perl installed. Second, I have to assume that you are comfortable downloading and installing software on your computer.

There are four critical ingredients to installing a Perl program: a text editor, an FTP program, a server, and a Perl script. Although virtually any text editor will do, the more code you write, the more comfortable you will want to be with your program. Personally, I recommend Super NoteTab or TextPad for the Windows platform, although your systems Notepad will suffice. For MacOS users you also have several options, from Mactext to BBEdit. Whichever program you decide to use--no matter which platform you are on--you will want to make sure that you have word wrap disabled. There are probably as many FTP programs available as there are Text editors. For windows, CuteFTP (my favorite) or WSFTP will get the job done, and for the Mac nothing can match the functionality of Fetch. The last ingredient is a simple Perl program. Although the program we are going towork with in this article is relatively simple in what it accomplishes, it will help to illustrate some key points you will need to consider when working with Perl.

Next Page




DaySite Web Hosting
1400 North Beach Street
Ormond Beach (Daytona), Florida 32174

386-589-5734
Web@DaySite.Net







Home | New To Websites | eCommerce | Web Hosting | Domain Name | HTML | Database | Programming | CGI | eMarketing | EMail | FTP

 
 
 

 

 


- Order Here -

Free
Domain Name Registration

With

Full Feature
Web Site Hosting

Just $15 a Mo.

Key Features
  Secure Servers
  Prof. Managers
  Personal Support
  Data Protection

Other Features
  Super Connectivity
  Ample Disk Space
  Extensive Email
  Spam Filters
  Virus Filters
  Web Site Stats
  CGI, Perl, PHP
  MySQL Database
  SSL Directory
  Free Domain Names

Call:
877-329-4839
(Toll Free)

eCommerce

FREE SSL

Secure Servers

Apache

Web Servers

MySQL Database Programming

Perl Database Programming

database programming

Since 1997

Domain Name Checker