The vServer that hosts our own and our clients’ web sites is based (loosely) upon the Movable Type blogging engine. In the versions we’re currently deploying (2.661/3.11), there appears to be no embedded way to get at the current page URL for any page on the site – MTEntryPermaLink will give you the effective URL for an individual entry, but that’s a special case. So what to do? Enter php, stage left, with smug grin: Now I’m a complete newbie at php, so there may well be much easier way of doing it, but what the hell – this one works, at least in my production environment, which is, FYI, Mac OS X/X Server 10.3.5/Apache 2.0.47/php 4.3.2/MT2.661.