Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

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
Perl module P404
Extending Flexibility Using CGI
Exercises, examples and other material relating to training module P404. This topic is presented on public course Using Perl on the Web

How to handle many and multiple form types in a CGI-based Perl program, and how to use the alternative POST method if appropriate. With other extras too, after this module, you'll be writing real, competent applications that handle form inputs and produce a professional, secure, correct response.

Related technical and longer articles
Accessing a MySQL database via a browser, Perl and CGI
Nasty Characters in Web Applications

Articles and tips on this subjectupdated
426Robust checking of data entered by users
10 steps to testing the bullet proofing user inputs or how to avoid being caught by nasties when your script goes live! 1. Test it works with intended entries. It's not going to be much good if it falls over when someone entered a valid piece of data! 2. Test it works (fails correctly) with erroneous ...
2008-05-17
 
1365Korn Shell scripts on the web
I know that the Korn shell isn't exactly the most common language for web scripting ;-) .... but if you've got a load of Korn shell scripts and a heap of Korn shell experts ... why not? "How would you do it" I was asked yesterday and I put together a tiny demo to show some of the first principles. ...
2007-09-25
 
1187Updating a page strictly every minute (PHP, Perl)
For the Clock exercise that I mentioned in my last entry, I need to update the page once a minute. Exactly once a minute. At the start of the minute. I'm using client pull, where the browser asks for the next page - so my basic request is: <meta http-equiv="refresh" content="60; url=/clock/now.php"> but ...
2007-05-14
 
590Danny and Donna are getting married
"Can I write a very quick Perl script to run a wedding list, where items are marked off as bought once someone has put their name against them?". So wrote Danny, hoping to get his online friends to fund large parts of his round the world trip ... My normal reaction would be to say "look, Danny - if ...
2006-06-05
 
Examples from our training material
docwrite.pl   Writing a document within a CGI script
envlist.pl   Environment and input lister
jumper.pl   Random jump - return a location header
mulcgi.pl   Handling a form with multiple fields
twoa.pl   More generalised form handling
twopost.pl   Collection information via POST
Pictures
Studying the question and tips
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
Returning a location and writing a document.
Returning a location.
Writing a document.
Forms with multiple fields.
Get v Post.
The Environment of a CGI program.
All the element types within a form.
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.


You can Add a comment or ranking to this page

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

PAGE: http://www.wellho.net/resources/P404.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb