Protocol relative linking

An odd discovery today – if you don’t specify a protocol in your links, the browser apparently suppose it’s the same (be that http or https) as the current page. You can se it in action on Slashdot by viewing their source – none of the regular links has protocol specification – they just start with two slashes and the hostname (ie. //

In the case of Slashdot I suppose they don’t use it to save bandwidth, but in most cases it’s probably useless.

(Discovered by mkyed).

php | architect

If you’re php developer you should check out php | architect. It a monthly magazine aimed at PHP developers and actually quite good. It used to come in PDF-format only, but has recently also launched a dead trees version. It’s a nice mixture of tips, software reviews, interviews and programming techniques. While all articles isn’t equally interesting, it is certainly well worth the US$2.09 which the PDF-version cost. A free copy available from their site.