As a sidenote, I’d like to point out that my original PHP Switcher was riddled with security holes and I thoroughly recommend Rob Ballou’s adaptation of the code instead. Why would I willfully shun my own code? To be perfectly honest, the hook of that article was the “just five lines of code” mentioned in the blurb. I can assure you that a more secure, more thorough script takes much more than five lines of code; but every article (like every song) needs a hook. The brevity of code in my switcher was mine.
Brevity is, after all, the soul of wit.