Exercises, examples and other material relating to training module P403. This topic is presented on public courses
Deploying LAMP - Linux, Apache, MySQL, Perl/PHP,
Linux Web Server,
Using Perl on the Web
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.
Articles and tips on this subject | updated |
3445 | Perl and CGI - simple form, and monitoring script. In some ways, Perl and CGI (Common Gateway Interface) is "old hat", but some times it's still just what you need.
Over the last couple of days, I've been working with Perl, with a customer for an intermediate tutorial session on some aspects of the language such as Object Orientation and Regular Expressions, ... | 2011-09-17 |
2834 | Teaching examples in Perl - third and final part Three part article ... this is part 3. Jump back to part [1] [2]
Following on from two earlier posts, here is the final third of the new examples that I wrote during last week's Perl course, and to which I have added extra documentation over the last couple of days.
P212 More on Character Strings
"Does ... | 2010-06-27 (longer) |
2551 | Perl and the Common Gateway Interface - out of fashion but still very useful? Is the Common Gateway Interface dead? No - it isn't; although my first choice for a new web application these days would be something else (PHP, Java with Servlets, JSPs or a derivative, Python with Django, Ruby with Rails ...), there are often times that I'll have a bit of code that I've run away ... | 2010-01-06 |
2238 | Handling nasty characters - Perl, PHP, Python, Tcl, Lua Are your writing or maintaining a web based application that uses forms? If so, you have better be aware of some of the nasty characters that are around!
The < character, when echoed back from a users's input 'unchallenged', may form the start of a tag. So that in a relatively benign case, a user ... | 2009-06-21 |
45 | CGI v mod_perl Just debunking a couple of myths today ...
CGI (Common Gateway Interface) scripts are run on a web server computer under the control of a piece of web server software (typically Apache httpd), but as separate processes. This means that each time a script is called up, it has to be translated from the ... | 2008-05-10 |
Examples from our training material
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
[here].
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
Ruby,
Lua,
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 700 books on the subjects on which we teach.
These books are available for reference at our training centre.