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
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 groundsSession demo in a nutshellSending PDF File to Browser via PHPRefreshing a page with PHPRedirect to another pagePausingPassing variables from page to pagePHP SMTP Mail ProblemPHP Form Processing TemplateEmail from PHPDeleting a cookieCookies 101 with a twistCloaked 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
Sessions, state and multiple concurrent users.
Using an HTTP connection and authentication.
Cookies. Session functions.
File Uploads.
Sending emails from PHP.
Including attachments.
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.