Exercises, examples and other material relating to training module H300. This topic is presented on public courses
PHP Techniques,
Intermediate PHP - weekend course / hobby / club / leisure users
Articles and tips on this subject | updated |
4050 | A couple of new fast-start PHP examples Expanding on our previous "fast start" PHP - [here] - I've added two new examples:
Filling in a form, and data validation and actions - [here]
And a quick regular expression example [here].
... | 2013-04-14 (short) |
3953 | Objects in PHP - Revision Part 2 of my "PHP revision" for delegates who will be doing substantial project / systems work. (Part 1 [here]).
Object Oriented techniques give programming languages a practical expandability and robsutness as applications written in them grow in size. Code is separated into classes, with each class ... | 2012-12-22 |
3952 | PHP revision ... by example. It's a big step from a few lines of PHP in a website which flashed up "Message of the day" ... to a system which computes results and looks up data dynamically ... to a system which requires pages to be linked together into an application ... to a system which requires access to back end data feeds ... ... | 2012-12-22 |
2742 | A simple server benchmark script Here's one of those examples where I found myself illustrating so many interesting features of PHP in one piece of code that I almost lost count!
<?php
# Web Site performance test page
if ($_REQUEST[pub] == "magpies") {
$wowser = `ab -n100 -c5 http://www.example.net/robots.txt`;
header("Content-type: ... | 2010-04-27 |
1787 | Howto - write and manage a news box on your web page Q: "I want a Content Management System. What should I select?"
A: I don't know - without asking you further questions!
The web, these days, is mostly about content management, and you may as well say to me "I want to get from 'A' to 'B' - please provide a way." I will have to ask you if A is just ... | 2008-09-11 |
1615 | PHP training courses every month Due to increased demand, we have increased the frequency of our PHP courses and we're now running at least one course on the subject every month.
* If you've never programmed before or written any HTML, start with a one day "Technology for PHP" the follow on to "PHP Programming".
* If you're familiar ... | 2008-04-18 |
Examples from our training material
four.php | form, completion, checking |
hf.php | Directory source display |
index.php | Directory navigator |
nibs.php | Extracting data / complex text file format |
one.php | first PHP revision example |
oo1.php | First really simple object! |
oo2.php | Second OO example - object, inheritance, public / protected / private |
oo3.php | Third OO PHP example - factory and cache design patterns |
seven.php | Regular Expression demo |
showdb.php | Retreiving and displaying information from a database |
speed.php | Converting distance travelled and time taken into a speed |
three.php | third PHP revision example - functions |
two.php | Second PHP revision example - arrays |
xxy.php | Web Site news - a simple edit box |
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 PHP language.
Variables, conditionals and loops.
Function, Arrays, methods and objects.
File and database handling.
Form input elements and superglobals.
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.