Lots of shuffling around, but at last I can call the PHP stuff.