Thank you -- that clarification helped to focus my problem solving. It
turned out to be a Wordpress issue. Changing "require('wp-blog-
header.php');" to "require('wp-load.php');" at the start of the script
fixed it. It also restored the ajax ability that had been lost on a
recent move to a new host (which appears to have more security
running, such as suhosin.so).