Isn't the ability to communicate with lots of people all at once great? No longer the need to envelope 50 letters and put them in the post - just a quick mailing list program. But that does mean that as well as getting through very quickly, you can really make a mess of things very quickly too.
....
PHP is usually used to generate a stream of HTML to be sent to the browser, but if you use the header function within your page you can use it to send any other type you wish. For example, if I include
header("Content-type: image/jpeg");
then I can script the production of images. Easy? Yes, b ....
Just occasionally, it's work going back to basic - who we are and what we do. Lisa wrote a great introduction this morning when filling in a form. With her permission, I'm sharing it with you:
"Well House Consultants has been training OpenSource computer programming for the past 10 years. All ma ....
I wanted, regrettably, to fade (tear) one picture into another - a train at Melksham into a picture of a disused railway trackbed. We have one of those nearby at Seend, where the Trowbridge - Devizes - Reading - London train service used to run. Here's another 2 options I looked at:
and
Th ....
I spoke with FD and GD and DP and they all told me that I had an excellent and logical case, and I should ask R in the appropriate government department. I asked RJ and his colleague DH. RJ is rude and didn't reply (he never does according to DP), but DH did answer me and tell me that it was a com ....
When you write a program, you should split your code down into a series of named blocks, each of which performs a single logical action. Blocks will be called up in different ways in different languages - and they'll be know as functions, subs, methods, procs (and perhaps other names too), but the ....
If you erect a fence of 10 panels, you'll need 11 fenceposts to hold it up. And if you write a program that joins together 10 elements on a line, you'll only need 9 separators between them - this is known as the "fencepost problem".
If you write a simple program loop to output each element from a l ....
There's just a few occasions when I'm training that I'm asked a question I don't know the answer to. It's not very common, since I actually write the courses / material and I know most of the things that people are likely to ask. And I've learnt that on those few occasions, being honest and saying ....
I wanted to do a few conversions between hectares and acres and - guess what - I didn't know the conversion values off the top of my head. Then I may have a few other area conversion to do too, and I could do with some more PHP examples. Guess what ... a program ... and one worth sharing too
If yo ....
At long last - we have two new signs at Melksham station to replace the old and faded one that was there before.
Before:
After:
It is slightly ironic that the new sign is branded "Wessex Trains" ... which is the name of the company that's running the service for the next 12 weeks. Then the s ....