Upgrades in PHP and MT

The PHP problem, as you have probably noticed, has been fixed. Tech support confirmed that because of the PHP ‘upgrade’, include files with absolute links produce error messages, although the files in question still load. This could cause some CSS site designs to bust (as it did mine in IE).

For the benefit of others who may be affected by this problem, here is the full solution as provided by my web host:

Example of a problem file:

include(‘ http://somewhere.com/header.htm’);

Suggested workarounds:

(1) Use relative paths rather than absolute URLs when including files stored locally on your account


Use this:


…instead of this:

include(‘ http://yourdomain.com/stuff/file.htm’);

(2) When including remote files located outside of your domain try using @include rather than include


@include(‘ http://otherdomain.com/file.htm’);

For more information, please see following PHP bug tracker page: http://bugs.php.net/bug.php?id=24053

I also discovered a new MT plugin which should be able to satisfy even the most rabid standards-crazed designer. Checks are made by the W3C Validator in real time, and the status (a customisable message) is reflected on your newly published page. Thanks to its creator, Brandon Fuller. You can find out if this document is compliant by scrolling down to the very bottom of the page.

I also decided to follow one of his suggestions, and let loose Nathaniel Irons’ Amputator on my weblog as well, so all evil ampersands (&) will be reconstituted accordingly, never again posing a threat to my kingdom. Bwahahahahar.


  1. Chris Owens

    I recently moved servers and ran into this problem.
    I got around it by using the same fix as you’ve posted above… but it’s still kind of annoying. 🙁

  2. Chris Owens

    Yeah, it was definately a step backward.
    I can’t believe they missed such a gaping bug though.!.
    Ah well, I’ve spoken to my hosts and they hope to either patch the problem this week or upgrade soon.

  3. ady

    Hope you don’t mind me asking but where do you host your site? I’m looking around for webhosts in SG but not familiar with whether they are reliable.

Comments are closed.