Experimentation with AJAX gets and posts with PHP