I would like to program a server website from which you can control the server. I know that it is possible to make a rcon request with php.
So he should display the open console on the server on the website. How is that? Have often searched for it… I've already programmed a website (according to template) and there must now be synonymous with php purely. So, who has an idea how to get the console like it is in the cmd window to the website and how to execute a command from a text window?
RCON only sends you the answer to commands that are executed about it. You can't change that.
To catch the whole log, you need to write a wrapper program that outputs stdout and stderr normally and provides them via a socket. For such tasks I recommend Python.