I am making a project, a web server. I want to do as much as I can from scratch, so I designed listeners which can transmit basic information ( html ) to the client, then terminate the connection. Unfortunately, I can't find out how to use POST with this. I also want to make the pages my software hosts to be dynamic, so I want to support PHP. I've Googled for a while, but can't find anything. I don't know if there is some library or something, but basically I want to compile the PHP into HTML code.
j
stuff ;)
well I guess one way would be using a php CGI and pass it on, besides that you would need a php-interpreter written in java.
github.com/thomas-p-wilson/php4j but that's to old I guess and I would recommend to stick with the original php interpreters. it's easier and better maintained.