Tag: php

  • PHP DOMNode -> setAttribute() max-width confusion

    While adding some custom code into Mahara, I came across what seems like a very odd PHP bug today, so odd that I put it down to user error, but just can’t seem to find what the user error is! Imagine the code below with some embed code from youtube or picasa as the value…

  • Book Review: Object-Oriented PHP

    A few months ago a package came through the letter box, bringing excitement into my life. I received a copy of Object-oriented PHP to review. This is the first time I’ve received a book to review, and my excitement was such that I was at once looking forward to writing something glowing with praise. My…