How to install WordPress 2.5.1

WordPress is a insanely popular blogging platform, and with every release it gets better. It’s also very easy to install, even for those who have never installed a CMS on their server before.
The first step is to head over to WordPress.org and download the WordPress file. Click on the Download button on the [...]

SQL_CALC_FOUND_ROWS - Is it faster?

Reading through a post on SQL_CALC_FOUND_ROWS actually being slower that running one query followed by a count query I decided I needed to do a little benchmarking on my own.

addthis_url = ‘http%3A%2F%2Fforumsblogswikis.com%2F2008%2F06%2F12%2Fsql_calc_found_rows-is-it-faster%2F’;
addthis_title = ‘SQL_CALC_FOUND_ROWS+-+Is+it+faster%3F’;
addthis_pub = ‘RyanNutt’;

XML Parsing Error: junk after document element

Since I had to go through about 20 pages to find the cause of this error, I figured I’d throw up one more with the cause that I found. Hopefully it’ll help somebody spend less time debugging the problem than I had to spend.
I’ve got a PHP script outputting XML that’s called from an [...]

Using $_GET and $_POST together

I find myself writing PHP scripts to do backend Ajax work.  One of the problems I often come up against is that I need to be able to call the same script either using a query string and pulling the variables from $_GET or via a form and calling the variables from $_POST.  I usually [...]

RegExr - Online Regular Expression Tester

If you do much programming you’re probably at least heard of Regular Expressions. If you’re anything like me any time you need to come up with a regular expression you open up a book and look up the list of characters.
Next time take a look at RegExr. It let’s you enter [...]