Thanks for all the help, I managed to get it working, though I'm not
quite sure the reasoning behind it. I used some info I got off of
http://bugs.php.net/bug.php?id=29860 to do it.
I posted my particular resolution to the bug report. It seems to me that
*something* isn't right