Prelude: I love YUI and most everything Yahoo! does, and that’s why I’m exceptionally critical: PHP may not their forte. Have you tried the YUI PHP Loader? It’s provides the combo loading features that the YUI developed to reduce HTTP requests. There is only one problem: It sucks. It’s probably because it’s actually pretty old, …
I’ve noticed that cPanel and WHM are somewhat inconsistent (mainly with EasyApache) in if they update/modify a configuration file or overwrite it. Here are some common gotchas: Will the Tweak Settings feature in WHM nuke my configuration? It appears not. This modifies a cPanel configuration, not your php.ini or other system configurations.
Installing a MediaWiki is great, and I try to have a lot of them for different projects. I try to make them as small as possible to avoid using a lot of unwarranted disk space. Here are two quick tips that will take the size of a standard installation from 40 MB to less than …
While it might not look pretty, theres been a lot of work done in a very short amount of time on the Pledge Tracker. This is a simple tool that tracks progress about the Tenth Amendment Center Pledge. I’ve added some more filtering options, statistics, and a way to visualize the time data: It could …
You can use the addition and increment operators in PHP to concatenate arrays. For example, $c = $a + $b; If you’ve used array_merge() to do this in the past, it’s important to note the difference between merging arrays and concatenating them. When you merge they keys are used to determine how the resulting array …
Adding a closing ?> to your <?php tags is actually optional, and you should avoid using it for scripts that will only be included.