Exercises, examples and other material relating to training module H301. This topic is presented on public course
PHP Techniques
| Articles and tips on this subject | updated |
| 3540 | Easy session example in PHP - keeping each customers data apart When you go to a shop, you're not kept waiting outside until the previous customer leaves. The shop will have multiple shopping baskets / trollies, or muliple assistants. And that's the way you want it when you visit a web site too. This means that the web site programmer has to be very careful to ... | 2011-12-06 |
| 2738 | What is all this SESSION stuff about? (PHP) If you're booking an airline flight online, you'll be taken through a series of screens to select route, dates, times, passengers, seats, then to enter payment details, and perhaps visa / government information too. It would be impractical to do the whole job on a single page, as you need the intermediate ... | 2010-05-14 |
| 2416 | Automating access to a page obscured behind a holding page Question: "I have a web page that I visit which sends me an initial response to say that it's working on the results, and then the results appear a few seconds later. I want to use an automed process / program on my computer to visit this page and store the final results, rather than having to access ... | 2009-09-23 |
| 1911 | Remember Me - PHP Here's a paradox for you as a web site designer, when putting together a web site which requires a login.
Most of your users are regulars, who really don't want the hassle of logging in every time they visit ... but at the same time, you can't allow blanket, long term logins as your site is often accessed ... | 2008-12-01 |
| 1766 | Diagrams to show you how - Tomcat, Java, PHP I like to work with a flipchart occasionally, and I have been doing so quite a bit this week, which is a week that I'm giving a wide ranging web server deployment course under Linux, covering both LAMP / PHP technologies, and Tomcat / Java too. Why do I like using a flipchart? Because it encourages ... | 2008-08-24 (longest) |
| 1739 | Bath, Snake or Nag? If you're running a web application through a number of phases , you've a choice of three ways of keeping information from one page to the next (keywords - sessions, shopping carts!).
You can use a bathtub - each time history (data) is entered, it gets added to a collection which gets passed back and ... | 2008-08-07 |
Examples from our training material
| dozen.php | Sending out holding pages before final result page |
| fru2.php | Sticky fields, and preventing injection attacks |
| stracker.php | Cookie demo - session alternative |
| tracker.php | Cookie demo - demonstration of session principles |
| westend.php | PHP Session - first principles |
| wsss.php | Sessions - a demo of the mechanism |
| zxzx.php | Viewing session from another web page |
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
User-proofing your data entry.
Data validation with regular expressions.
Equallity and not equality.
Consistent Error handling.
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 700 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.