Added debug php code and modified form to include post body.