Trusting user input in PHP’s chmod: decimal vs. octal

The PHP manual on chmod has a subtle little warning about providing a decimal number instead of an octal when calling the chmod function: Mode is not automatically assumed to be an octal value, so to ensure the expected operation, you need to prefix mode with a zero (0). So what does this warning really […]

Hive LMS: Solving bugs I didn’t know I had!

This has been a very eventful week and a very successful one as far as my programming career goes. Besides the post I put up a few days ago, Hive LMS: Knowing when it’s time to toss code out!, I also stumbled on to a bug that turned out not to be a bug and figured […]

LMS Weekly Update: May 22 – 26

June Fools! If that was a thing I’m totally pulling it off. I was going to provide another double update this week for missing last week but then I decided why not catch up a day before the next update is due? It was just a lucky coincidence that it happened to be the first […]

A Unique Identifier Hash for Hive LMS

So I got distracted but in a good way. I realized as I was coding up the login system for the LMS Project that I’m going to need some kind of ID (unique identifier hashing) for Hive and almost four hours later I have a working but extremely broken YouTube-esque unique identifier hashing algorithm.