Re: Q: PHP3 / Read STDIN when missing Content-Type
| From: | Bogdan Stancescu | Date: | Thu, 03 Jan 2002 14:00:21 +0000 |
| Subject: | Re: Q: PHP3 / Read STDIN when missing Content-Type | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79310@lists.php.net to get a copy of this message | ||
Your question intrigued me enough to start searching for an answer. Never
did this myself, but you may try
http://download.php.net/manual/en/html/function.fopen.html
(fifth paragrapgh
of explanations). Hope it works with Apache - I was unable to determine if
this only works when you run PHP scripts from the prompt.
Please let me know if it works!
Bogdan
role+php-general@axoria.net wrote:
> I'm stuck with PHP3 at present and need to process POSTed data that
> has a missing Content-Type, so the HTTP_POST_VARS don't work.
>
> Is the raw STDIN data accessible in this situation, please?
> Pretty please?
>
> Cheers,
> J.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net