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
This server has been replaced.
Please visit our current servers:
http://www.wellho.net/ for Perl, Python, PHP, Lua, Tcl, Apache, Linux, Tomcat, MySQL , C and C++ training
http://www.wellhousemanor.co.uk/ for hotel and conference facilities in Melksham, Wiltshire

Related technical and longer articles
Using current exchange rates on a web page
Using Frames with PHP
Shopping cart application in PHP
A Web interface for your Linux admin tasks
Suggesting alternative search terms to web site users
Tips and short articles on this subject
http, https and ajp - comparison and choice
Downloading data for use in Excel (from PHP / MySQL)
Keeping staff up to date on hotel room status
Script to present commonly used images - PHP
PHP / Web 2 logging
Single login and single threaded models - Java and PHP
Copyright and theft of images, bandwidth and members.
Simple page password protection - PHP
.php or .html extension? Morally Static Pages
PHP header() function - uses and new restrictions
Updating a page strictly every minute (PHP, Perl)
Improving searches - from OR to AND?
PHP Image upload script
Passing GET parameters through Apache mod_rewrite
Global, Superglobal, Session variables - scope and persistance in PHP
Of course I'll tell you by email
Image maps for navigation - a straightforward example
Hot answers in PHP
Finding the language preference of a web site visitor
Where is a web site visitor browsing from
Adding PHP tags to an old cgi program
PHP - setting sort order with an associative array
Using PHP to output images, XML, Style sheets, etc
Morning image, afternoon image
Daily Image Santafied
Setting the file name for a downloaded document
Accessing a page via POST from within a PHP script
Server side scripting of styles to suit the browser
Caching an XML feed
Reading a news or blog feed (RSS) in your PHP page
What brings people to my web site?
Time calculation in PHP
Sudoku helper or sudoku cheat
Spotting a denial of service attack
What language is this written in?
When to use Frames
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
Further Web Page and Network Handling - PHP module H112
Applications often require a series of forms to be completed, with the final outcome being determined by the inputs from all the forms along the way. Furthermore, your web site may have several visitors filling in a series of forms at the same time. It's vital that you should be able to remember information from form to form, and also be able to tell your users apart from one another. This module covers the techniques used to "maintain state", and the PHP functions provided to help you do so.

This topic is presented on public course PHP Programming

Examples from our training material
automailer   PHP script to email from the command line
cook.php4   Setting and reading a cookie
cookie_demo.php4   Setting and deleting a cookie
d404.html   Script run when our web site can't find a requested page
dopost.php   Using the POST method to read from a URL within a PHP script
exchange.php   Exchange rate convertor
fromwhere.php   Tracking how visitors reach a page
imap.php   Image map controlled by PHP script
pcook.php4   Setting and checking a persistant cookie
phpemenc   Emailing with enclosures from a web page
ppmh   Sending an email as HTML not plain text
pubsales.php4   Cookie check for new visitor
roomstates.php   Room State Reporter
sesscart.php4   Session demo - shopping cart
sessdemo.php   Session demo - shopping cart - from PHP 4.2
sessions.php5   Session demo for more recent PHP4 and PHP5 systems
sucksee.php4   does a URL exist?
supermail.php   simple form for mailing
More web pages on this subject
Using data from a third party web page - exchange rates - demo
Opentalk forum discussions related to this topic
Random back grounds
Session demo in a nutshell
Sending PDF File to Browser via PHP
Refreshing a page with PHP
Redirect to another page
Pausing
Passing variables from page to page
PHP SMTP Mail Problem
PHP Form Processing Template
Email from PHP
Deleting a cookie
Cookies 101 with a twist
Cloaked redirection
Pictures
Injection attacks - avoiding nasty characters
Hidden fields, cookies, sessions and state - PHP
Superglobals in PHP
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
Maintaining state.
Cookie examples.
Headers, Heads and Bodies.
Uses of Cookies.
Accessibility - a practical example of cookies.
Example using PHP4 built-in session functions.
Why email from the server?.
Informing the system owner.
Emailing system users.
Other users.
Emailing from the server.
Configuration.
Sending a simple email.
Adding to the headers.
Sending attachments.
A practical example of mailing from PHP.
Course links
The following web pages are used as references / examples in this module

[Link] PHP: Hypertext Preprocessor
(at http://www.php.net)

We check these links from time to time with a spider written in PHP. Latest full check was on Saturday, 12th June 2004. Titles are extracted from the web pages listed.

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