April 24th, 2009

Infolinks is an excellent way to monetize your blog

Web

OK, I'll admit it: I'll never be one of those guys who earns his entire income from his blog, and gets to sit around in a housecoat sipping coffee while he thinks up the next thing to write about (ironically enough, I actually am sitting in a housecoat with a coffee, but that's only because I just got up). Anyhow, this blog has become a popular destination for web programmers and students, and I have put a lot of time into it, so I'm happy to say that it does give a little something back to me.

If you're building a blog or website based on solid content that is going to be useful to a number of people, I would highly recommend that you consider monetizing it. For me, there are four main ways to make money on an average website:

  1. Contextual ads (e.g. AdSense)
  2. In-text link ads (for me it's now Infolinks that provides this)
  3. Affiliate ads
  4. Direct ad sales

If you're trying to decide which to use first, here's what I have found to be the results: (more…)

April 19th, 2009

How I learned to last longer naturally

First of all, I apologize to my readers for the more… mature theme of this post. I know I usually write more about technical stuff, but this is rather important to me, so I thought I'd pass it on like I have with the other solutions I've discovered. (more…)

April 18th, 2009

Get the first & last day of the month with PHP

This is a couple of rather simple functions that will return the first and last day of the current month. Of course, you could rig them up to return the first and last of any month, but that's up to you once you've got my code :) .

These two little functions are greating in a situation where you need to create a date range of the entire current month.

Currently they return the date in the format of 04/01/2009 and 04/30/2009, but you could rig them up however you'd like by changing the date() format parameter. (more…)