Archive for the 'The Internet' Category

Apache Taught You The Wrong Way To Think About Web Applications

This is not about hating on Apache; for its faults, Apache is still a useful and powerful tool for its purpose. Nevertheless, people have been getting the concept of a web application wrong from the ground up because of the way Apache works out of the box. Let me be clear: There are many ways […]

Wednesday, August 16th, 2017

Let’s talk about your password model

This entire article is obviated by the password_hash family of functions. Please check out password_hash() and friends for information on the up-to-date and correct way to handle passwords. Generally speaking, if you are using another method, it is wrong. More specifically, if you are using another method, and it is not based on crypt(), or […]

Tuesday, February 9th, 2010

Arrays of Objects and __get: Friends Forever

In PHP, an object is always passed around as a reference, which allows one to deal with objects in a very transparent manner, since the only way to deal with a by-value copy instead of the real deal is to explicitly use the clone operator. Recently, I came upon a situation in which it was […]

Monday, January 11th, 2010

On Net Neutrality – A Plea

Recently, McCain introduced a bill for consideration which would effectively block the FCC’s attempts at creating so-called “Network Neutrality” rules which ISPs and Telcos would be required to follow. ┬áNow, setting aside for a moment the fact that McCain has received more than double as much money as the next-highest senator to be bankrolled by […]

Sunday, October 25th, 2009