Where is the POST response body generated in PHP? [closed]

The answer is, anything that is echod after the POST request, is sent back to the requester via the RESPONSE body.

Thus any echo statements issued after processing whatever was sent via the $_POST is generated and sent back. In this template’s case, it would be better to re-direct the user immediately to a new page, instead of echoing contents back.