Like mootools and prototype, microajax sets the X-Requested-With header to XMLHttpRequest. This should be easy to detect.
PHP:
if ($_SERVER['X-Requested-With'] == 'XMLHttpRequest') { // do something clever }