PHP Templating: Variable Date

In building a template system, you may want some way to inject date info using a timestamp (perhaps generated through mktime() ) and date(). But you don’t want the format to be dependent on the template parser, but rather specified through the variable in the template itself.

$template = preg_replace(
"#\%date(\:\s*(.*?))?\%#ei",
[...]

New Layout

I know, I updated the site design less than a year ago. I decided I could do better than a fixed-width design built for 800 by 600 resolution displays.
The new layout, also my first WordPress theme (yay), is a bit more flexible. By default, it is full-browser-width, with reasonable space allotted to the [...]

Down and Dirty Un-spam WordPress Comments

One thing I’ve learned in running my own blog is that spam-bots really, really like open forms. I’m sure experienced bloggers will smile (and say “that’s all?”) when I say that I get probably no less than 5 spam comments per day. With WordPress, it’s simple to be rid of spam — just [...]

Message to the Readers: School’s Started

As of approximately two weeks ago, the Fall ‘08 school semester has officially started. This semester, I’m taking 18 credit hours over 6 classes. To give you an idea of how busy that is, this school considers 12 credit hours to be “full time”, and I normally take around 15 credit hours. [...]

Moving from Blogger to Wordpress

Recently, I’ve reached the point, like probably many bloggers have, where I’ve outgrown Blogger.
Don’t get me wrong, Blogger was great to use as I began my blogging journey. A freely-hosted blog is probably the best way to test the waters, so you don’t spend $10 on a domain and who knows how much on [...]