"Bert Melis" <bert.melis@off site_remove_thi s_.be> schrieb im Newsbeitrag
news:43******** *************** @news.skynet.be ...
Andreas Thiele wrote: Hi,
can anybody point me to some reading on how communication between the webserver and php is
established?
I'd like to make php available to my own webserver software.
Andreas
What kind of server-software are you using?
IIS? Apache?
No, I wrote one myself. It is a simple server, now capable of serving html pages, jpg and gif files.
I wrote it for standalone delivery of my application. In this case I don't want to require the user
to install a full blown apache or other web server.
Now I want to implement php support into my server program.
I already called the php.exe with i/o redirection from my program. This works if I don't need any
parameters. I'd like to further extend this and pass parameters to php. But how?
For example, my server obtains the request "GET /test.php?value1 =a&value2=b". Now I need a way to
hand over value1 and value2 to php.exe. Is this possible?
(I thought of something like "php -q test.php value1=a value2=b", but this won't work for obvious
reason)
Isn't there any reading on this topic available?
Googling didn't help me much yet.
TNX
Andreas