WordPress Killed My Code

August 2nd, 2007

…but that’s okay – WP-Syntax resurrected it.

After looking at one of my earlier posts I noticed that all the backslashes were gone from my code examples, most notably my regular expressions. I had the code wrapped in <pre></pre> tags. As some searching revealed, this seems to be a recurrent [...] Continue Reading…


How To Check If Page Exists With CURL

August 2nd, 2007

Here’s a relatively simple PHP function that will check if an URL really leads to a valid page (as opposed to generating “404 Not Found” or some other kind of error). It uses the CURL library – if your server doesn’t have it installed, see “Alternatives” at the end [...] Continue Reading…


How To Read/Write Icons With PHP

July 30th, 2007

I discovered this interesting PHP class today that can be used to process all kinds of .ico files in PHP.FeaturesRead/write icon files.Extract individual icons from a multi-icon file as GD icon resources.Add new icons to an .ico file.Supports all icon image sizes, bit depths and transparency.You can find the [...] Continue Reading…


Link Cloaking Plugin for WordPress

July 28th, 2007

I’ve created a plugin for WordPress that can cloak outgoing links in your posts and/or pages.
Features

Choose what to cloak – all links, only the links you specify or no links at all.
Choose where to cloak – posts, pages or both.
Configure the URL – you can set the “prefix” part [...] Continue Reading…


Web 2.0 Is Cool

July 23rd, 2007

Not “cool” like “the concept of web 2.0 posesses a large amount of coolness” or “web20.cool == true”. For many people Web 2.0 equals “cool”. That’s what I understood after reading this fine blog post.

Programmers and the like might know Web 2.0 is about things like AJAX, social networking, [...] Continue Reading…