Here are a few things worth mentioning that I've figured out during my years of writing PHP-based websites. Some of these might be obvious but are worth re-iterating. Others are things that I didn't consciously consider until learning the hard way sometimes multiple times.