Re: retrieve POST body?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried that one too.
For any POST requests (regardless of Content-Type), it's always blank.
For GET requests, it contains the PHP script source code.


André Medeiros wrote:

php://stdin perhaps?

On 4/18/07, Justin Frim <jfrim@xxxxxxxxxxx> wrote:

André Medeiros wrote:

> Reading from php://input on a webserver will retrieve the Body of the
> HTTP Request.

Not for me it doesn't.
That only seems to work when the form is submitted as
application/x-www-form-urlencoded.  When the form is submitted as
multipart/form-data, php://input is blank.

--
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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux