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 a regex expression [...]

bbPress sidebar widget for WordPress

This is my first shot at writing a sidebar widget for WordPress. Not much complexity here but it does its job well. About I recently added a forum to this site and needed a clean way to display login / logout, register, and profile links. The sidebar seemed the most likely place to have these [...]

GoCodes redirection plugin

Have you ever needed to give out a URI from a blog post? Sure, you can do it, but the URIs are usually pretty long. And forget about it if you’re saying it over the phone or on a podcast. A WordPress plugin called GoCodes looks like it may be able to help you out.