Archives: 2007

There are often many small changes you can make to your website to improve a visitor’s experience and gain more traffic. But there is a single principle you can follow to get more people to your site and improve your search engine rankings.

June 20, 2007

The debate between whether to use HTML 4 for a DOCTYPE or the new XHTML 1 continues, even within my own head. Here’s some of the pros/cons between them. HTML 4.01 Causes a validation error with the closing slash in <link />. Technically, self-closing tags shouldn’t even be used, but browsers will usually forgive such […]

February 20, 2007

You may have come across a problem in PHP where user sessions (ie, from $_SESSION) expire earlier than you expect. Now, there’s many different settings that can affect PHP sessions. Besides any application preferences, PHP has settings like session.gc_probability and session.gc_maxlifetime. But none of these matter if you don’t change session.save_path. By default, sessions are saved […]