Test code for Ajax in PHP