14-Sep-2020 : Ghost break?

  • by

Your code compiles perfectly and has worked thousand of times before, but suddenly it starts giving you a nasty error message: ‘Code execution has been interrupted’. It looks like the one you get when you press Ctrl-Break or when your code produces an error which you haven’t trapped, but it isn’t either of those …

12-Sep-2020 : Web page logging

  • by

This is the oldest bit of PHP in my possession, based on something I found on the Web about ten years ago but tweaked by me over the years to suit my purposes.  It logs all accesses to a Web page …