Recent Posts

PHP

Generate Random Strings in PHP

Tim Barsness • May 11, 2009

I needed to generate some random strings today for password resets.  Here’s what I used: function genRandomString($length = 10) { $characters = ‘0123456789abcdefghijklmnopqrstuvwxyz’; $string = ”;   for ($p = 0; $p < $length; $p++) {…

Read More

Linux

Upgrading WordPress MU from 2.6 to 2.7

Tim Barsness • May 1, 2009

I know I’m late to the game but I tried upgrading wordpress from version 2.6 to 2.7 today.  I ran into the seemingly all-too-common redirect loop which seems to have to do with the wp-config.php keys…

Read More

Wordpress

Listing WordPress Categories Inside the Loop

Tim Barsness • March 10, 2009

The Request— Be able to list all of the blogs categories inside the loop on a page or post. The Solution— After some playing around in the template I decided a plugin is the best route….

Read More