HTTP Authentication on PHP as CGI (like Dreamhost)

Using PHP's HTTP Authentication is a simple way to protect scripts behind a login/password prompt. There's one little problem: it's supposed to work only on PHP as an Apache module, not the CGI version. It took me a while, hair pulling and some googling to get a basic HTTP Auth system working on Dreamhost's PHP as CGI so for my…

DreamHost Invitation Codes (for Ridiculous Bandwidth and Storage)

For nearly 3 years now, all my online activities including this blog have been hosted at DreamHost. Nearly 3 years of overall positive experience then, otherwise I'd be obviously somewhere else :) The reason of this post is that I've just received five DreamHost invitation codes, that are worth the following: 4 times the normal disk and bandwidth (that is:…