Archive for June, 2007

Displaying AdSense ads to visitors only in SMF

This is a spin off of a previous post that I did on displaying a message to guests on a Simple Machines forum. A commenter asked a question that I assume was looking for a way to wrap ad code the same way I was wrapping the welcome message.

addthis_url [...]

Clearing out MySQL binary logs

Over the past few weeks WHM has been sending me emails that my server space was getting full. I guess 80% is the threshold for those emails. But it was creeping up so slowly that over the course of 8 or 10 weeks it had only gone from 80% to 82% which I [...]

How to reset your Wordpress password

Help! I’ve forgotten my Wordpress password!
Ever been there? Wordpress has a built in method to email you a new password, but what happens if it’s been so long that you don’t have access to the email address any longer? Or if you have too many email addresses and can’t remember what address [...]

coComment slowing down FireFox

As a blogger you probably comment on blogs all over the internet. If you’re like me it’s that interaction that drew you to blogging in the first place. But it’s difficult to track all of those conversations.
A few days ago I downloaded and installed a plugin for Firefox called coComment which promises, and [...]

Benchmarking single vs. double quotes in PHP

PHP allows you to define a string using either a single quote (’) or a double quote (”). Why? Is one better? Faster? Why should you use one over the other. In this article, I am going to benchmark both methods; both with literal strings and strings with variables included.
As an aside for completeness sake, [...]