Grab a recent PHP release and in your php.ini file add:

always_populate_raw_post_data = On

-Rasmus

On Wed, 20 Feb 2002, Nicolas Boutet wrote:

> Hi all,
> I'm trying to make a script to get "application/octet-stream" datas from a
> java applet. The method used by the applet is POST and I tried to use
> $HTTP_RAW_POST_DATA like this
>
> <?....
> if (isset($HTTP_RAW_POST_DATA)) {
>     $contentlength = strlen($HTTP_RAW_POST_DATA);
>     $buffer = $HTTP_RAW_POST_DATA;
> }
> ...?>
>
> but $HTTP_RAW_POST_DATA is not set and $buffer stills empty. The size of the
> data sent by the applet is 860bytes and the applet works fine if I use a C++
> CGI instead of PHP.
> Does someone have an idea ?
> Thanks a lot ;-)
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to