Exercises, examples and other material relating to training module H306. This topic is presented on public course PHP Techniques
|Articles and tips on this subject||updated|
|3946||Moving from a warning system to a control system - PHP, forum spammers|
Our railway forum is every-popular - 30,000 visits per month (measured by Google Analytics, so that's pretty close to me saying "30,000 real visitors"), with the average visitor staying long enough to look at between five and six pages.
But, alas, our strong user base also makes us a sort-after target ...
|3094||Setting your user_agent in PHP - telling back servers who you are|
If your web page pulls information in from other sites, you'll be turning your web server into a client (browser) to those other sites - and just as your web server can identify the type of browser it's answering via the $_SERVER[HTTP_USER_AGENT] variable, so can the remote server.
The default user ...
|2667||Web page to telephone calls / links using an iPhone|
Would you like people who visit your web site from their iPhone you be able to just click on your number and call you? Well - they can; the iPhone Safari browser recognized phone numbers and turns them into telephone links. But you might want a bit more control as the web site author ...
• To ...
|2380||Object Oriented programming - a practical design example|
Object Oriented coding makes enormous sense when you're looking at a medium sized or larger application - but it's a complete change of thought process for the traditional structured programmer.
We ran an Object Oriented Programming in PHP course today, and the course concluded with me taking some sample ...
|2343||World Flags in your PHP pages|
The world's flags are often used to give a quick visible international indication of countries (sidestepping the issue I had yesterday, where I was translating into ten languages and wanted links to each other language on each page and - well - what IS the Finnish for Italy?)
So I have found an Icon ...
|2135||What features does this visitors browser support? (PHP)|
Does this visitor's web site support CSS? Is this visitor a robot? Should I send out frames? There are the sorts of questions that you may want to ask in a PHP page .... and PHP supports the get_browser function which can tell you ... or which can tell, most of the time, once you have it configured.
|1736||Current visitors from around the world - PHP|
Would you like to draw a map showing you where your visitors are coming from - all around the world? Something like this:
Last 15 minutes - visitors to www.wellho.net
I've being doing that through PHP, using the GD graphics module - source code available here if you want to do the same thing on your ...
Examples from our training material
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
Reconginsing browsers and countries.
Is your visitor a crawler?
Did your visitor arrive from Google?
Is your visitor in the area that you sell to?
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
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.