The server-side PHP code for the example consists of the following files: