Tag: code

  • 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…

  • new blog code

    After ages of not posting to my former blog, I decided to migrate to some proper blog code. I am now using blogger. I threw together a template that looks mostly like my old site, to make it feel comfortable. The management tools (making posts, etc) for this is so much nicer, I might actually…