Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Tips and short articles on this subject
CGI v mod_perl
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
The Common Gateway Interface - Perl module P403
Applications often interface to the web through "CGI" Ð the Common Gateway Interface. This module introduces the fundamentals of CGI and how it's used within server-based Perl programs, taking special care to cover issues such as the security of the inputs and the handling and checking of data no matter what the user of your publicly visible website should enter.

This topic is presented on public courses Using Perl on the Web, Deploying LAMP - Linux, Apache, MySQL, Perl/PHP, Linux Web Server

Examples from our training material
first.html   First HTML page to call up CGI script
firstform.html   A first web form
formone.cgi   Running a script when a form has been submitted
formurl.pl   URL decoding - training example
logone.pl   Filtering an access log file from a browser
mydate.cgi   CGI first example - menu based on day of week
mypage.htp   HTML template for shoots.pl demo
rf1.pl   Looking up an "A Road" - test program
roadfinder.pl   Looking up an "A road" on a web site
seedcalc.pl   Shows structure of a CGI script
seeding.html   Sample form - two boxes to submit to a CGI script
shoots.pl   CGI script - sets up form, also handles form response, in a single page
theywant.renew   Wedding list data
wedlist   Wedding list application
whc_filter.pm   utilities for CGI use
withval.cgi   CGI page with some data validation
Opentalk forum discussions related to this topic
passing a variable from PERL into an HTML form
how to link html file from perl program
Apostrophes
Perl and Guestbook
Unliked characters
How pass a variable from a form to a subroutine
Guestbook pl
Pictures
CGI scripting practical
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
The mechanism of the web.
The need for Server Side Programming.
The structure of the server.
Static documents.
Executable programs.
Your first CGI program.
Error Handling.
Use perl -c.
Check with your ISP.
Forms.
Error handling.
URL Encoding.
Input.
Output.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 600 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho