All data sent through a POST request is stored in the $_POST array.

$_POST['myvar'];

-Kevin


----- Original Message -----
From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 1:27 PM
Subject: [PHP] Reading input stream of incoming request


>
> Hi,
> How do I read an input stream from incoming request in PHP?
> The incoming input stream is actually an name=value pair of a POST request
> method from a client.
>
> The reason I ask: I am using Apache + PHP as the backend for creating
> client-server scheme. The client is a MIDlet apps (J2ME:
> http://java.sun.com/j2me/).
> The way it sends the name and value parameter for HTTP POST method is by
> output stream, so I need to read in in php using input stream.
>
> Any help on this would be greatly appreciated.
>
> Thanks.
>
> Reuben D. Budiardja
>
> --
> -------------------------------------------------
> /"\  ASCII Ribbon Campaign against HTML
> \ /  email and proprietary format
>  X   attachments.
> / \
> -------------------------------------------------
> Have you been used by Microsoft today?
> Choose your life. Choose freedom.
> Choose LINUX.
> -------------------------------------------------
>
>
> --
> 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