IIS, PHP, and LDAPS with Active Directory.

Why you’d ever want to do this is probably a discussion best left to the political arena. But for the purpose of that thing I call my “day job”, I was required to do just this. External website, authenticates against Active Directory using LDAPS. Website is coded in PHP, and runs on IIS on Windows …

osCommerce Stock Level Hack

osCommerce fails to check stock level correctly when going through the order process. The problem is two fold, and is worsened by the use of PayPal. If you use PayPal for payments, this code will not work as expected for you. The checkout_process.php file is the final script in the checkout workflow, and performs the …

Prime number generator

This is a little something I’ve been working on for an experiment. It’s a pretty basic prime number generator. At the moment, it’s using what I call, an “exponential” search function which I thought of. It’s probably been thought of by someone else, but I’m calling it my own for the time being. In my …

PHP Templating

I’ve always wanted to create a CMS system using PHP. I currently have an opportunity through my work to develop a custom form webapp for one of our clients, which I’ve been working on non-stop for the past day or so. I’ve got no idea how anyone else does templating, but I’ve devised my own …