Php & the POST request method.


I'm writing my own web server for win32 and i've ran into difficulty with PHP and the POST request method. I know that the extra information sent in a POST request contains the query string when the request is submitted by the form, and that the POST content should be written to STDIN for the CGI application to access.

Now. i know that i'm doing this right because POST commands work with Perl CGI programs, even when i use the CGI module.

But, PHP doesn't work properly with POST requests on my server.

Anybody know if there is something specific about HTTP that i'm missing or if PHP handles information on stdout differently?

Any help will be appreciated.

(ps: please, no reponses asking me why i'm writing a webserver)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories