In case you'd like to know more about me, there's a pretty good interview of me over at Single Function. I say "pretty good" because I like how interviews there are done, mixing up personal aspects with more focused and technical ones. Go read!
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…