First coding ... and people start at the top and work through to the bottom. Example: [here].
Then they find bits of code repeating, and they separate the repeating stuff out into functions. Example : [here].
In order to re-use the repeated stuff in other programs, they then save it to another f ....
One of the consideration that users of Open Source programming languages have make is which one of many ways to do any particular task. Open Source tends to result in lots of very clever facilities being provided, many of which overlap in their use, and many modules being provided via libraries su ....
As your project grows ... what do you change? In an ideal world, you would know exactly what you were coding before you started, and write the full job to spec to last for many years. This isn't an ideal world, though. Our web site has changed over the years - we now have "version 8" (See [here] to ....
The imap module ships with PHP, but isn't always built into the server; you need to build PHP with --with-imap if it's not there. But once you do have the module , you can access your POP3 email server direct from PHP.
Very recently, I was asked if I could extract attachments / enclosures from emai ....
"Which", the magazine of the Consumer's association, tests out the train ticketting system of the railways in somw way - or does a customer survey - at least once a year. And they always find anomolies, things that are hard to understand, customers who are missold, or some things like that.
In res ....
"What would I use one of THOSE for?" - a question often asked by newcomers to Perl when I first introduce hashes. Well - in writing a script to count up how many articles I've written about each subject we teach on, I came up with a perfect example.
A hash is described as an "unordered collection" ....
Do you get irritated by the volume of spam you get - by email, by telephone, and in the post?
I don't know which is the worst. Phone calls demand your immediate attention and (personally) I find it very hard to get back into coding concentration once I've broken to speak to someone who's just do ....
When the Apache HTTP Server manages its child processes, it needs a way to wake up processes that are listening for new connections. To do this, it sends a simple HTTP request back to itself. This request will appear in the access_log file ... typically from 127.0.0.1 or your server's IP address. F ....
There are times that we want to check the connectivity of all the systems on our subnet - to see which machines are present, and which are not. Pinging them one at a time is a bit slow, but pinging them all at once in a simple script sets up too many connections and the script is likely to fall ove ....
*Something* on our web server has been causing the loading to rocket a couple of times a day recently, and it's been a bit of a problem to find out what that something is. Rather like searching for a needle in a haystack - except that when you find something that you think may be the problem, you c ....