I'm speaking specifically about this distrobution:
http://www.php.net/get/php-4.3.4-installer.exe/from/a/mirror

This isn't exactly a question about the php language, but I've tried asking around on IRC and I'm not sure where I should ask.

I'm writing an http server in c# (don't ask) and I've gotten as far as executing the php script by command line:

c:\php\php.exe -q c:\path\to\script.php

I then read what php dumps and write it to the client socket.

Now what I can't figure out is how to send the HTTP GET and POST variables to the console. Does any one know how to utilize php.exe this way? Is it some sort of standard or is there documentation on it somewhere I don't see?

    Write a Reply...