In reply to Tai.

Now I feel like an idiot for even imagining that could have been true.

At the very least you should have VISUALLY confirmed that in the code before posting it.

Please don't work on any projects that are even remotely related to security. Ever.