Re: using stdin to get POST content in module version

From: Date: Fri, 15 Dec 2000 13:44:07 +0000
Subject: Re: using stdin to get POST content in module version
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30505@lists.php.net to get a copy of this message
> There is an array defined as $HTTP_POST_VARS. > you can also access any form element by it's name, so, for example: > <input type="text" name="crap" value="foo bar"> > withing your accepting script, $crap will contain "foo bar". > create a file called phpinfo.php and put in it: The trouble I can not modify the submitting application, and it does not use a form to send a file, but stream raw data into a POST request. CGI scripts can take that kind data (the content of the request, which is of type CONTENT_TYPE and length CONTENT_LENGTH) from stdin. But my I would prefer php to run as a module... ASP (sorry...) provides this feature, but I can not find it in php documentation.

« previous php.general (#30505) next »