I want to handle http requests via another webserver or own written server in future.
I want to understand how to provide php with request data properly.
- in what form request data should be provided
- how data is provided to php, via stdin or somehow else
- how php handles received request data afterwards, any additional actions required to fill $_SERVER variables etc.