Andy Vaughn

Blog

PHP Copyright

There’s little that annoys me as much as going to a website that is an authority on some subject, and it has an outdated copyright. Here’s a very simple script to replace all of your copyrights, so that they are constantly updated with the latest year. <p>Copyright 2007-<?php echo(date(‘Y’));?>.</p> This is, of course, assuming that […]

read more

How to find out if it’s just You

Yesterday, I met with a client who had a drop in contact requests for his product over the last month. We took a look at the website analytics, compared conversions, and indeed his numbers were down from the same month last year. We could assume economic shifts, weather changes, or voodoo curses may have caused […]

read more

How to write CSS for a CMS

When writing CSS, it’s very important to pay attention to the “cascading” factor in your stylesheets, as opposed to simply adding style on top of style. When writing CSS for a content management system, it is vital to harness the strength of the cascade, and not repeat yourself. I’m going to show you how I […]

read more