Re: Reading input stream of incoming request
| From: | Kevin Stone | Date: | Thu, 06 Feb 2003 20:39:54 +0000 |
| Subject: | Re: Reading input stream of incoming request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134674@lists.php.net to get a copy of this message | ||
All data sent through a POST request is stored in the $_POST array.
$_POST['myvar'];
-Kevin
----- Original Message -----
From: "Reuben D. Budiardja" <reubendb@innovativethought.com>
To: <php-general@lists.php.net>
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
>
>