Re: retrieve POST body?

From: Date: Wed, 18 Apr 2007 16:11:33 +0000
Subject: Re: retrieve POST body?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-253207@lists.php.net to get a copy of this message
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@idirect.com> 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


« previous php.general (#253207) next »