Communicate w/ php-daemon via AJAX.