Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78104 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65697 invoked from network); 15 Oct 2014 23:59:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2014 23:59:26 -0000 Authentication-Results: pb1.pair.com header.from=park.framework@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=park.framework@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.178 as permitted sender) X-PHP-List-Original-Sender: park.framework@gmail.com X-Host-Fingerprint: 209.85.214.178 mail-ob0-f178.google.com Received: from [209.85.214.178] ([209.85.214.178:55660] helo=mail-ob0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/D1-55527-C5A0F345 for ; Wed, 15 Oct 2014 19:59:26 -0400 Received: by mail-ob0-f178.google.com with SMTP id wn1so1970401obc.23 for ; Wed, 15 Oct 2014 16:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aNtwL2eJyMwpaTQib7jalVSRVqYz8lAXWoMX/3xMPMk=; b=BikT/9/MMnVE0pHQmdYweVqFJWnrgNt+pdcibC61xwdgjNN6obOQIKX5oonX2e0hG6 lOUNWZ0hz/uB6C534UxYhe1mSwRaXII5ELLWU22CZBvCgO6TN/Lv/TTJk8jEVQcMuljI LY1t1368hrnJ1XQ/b3+5Miu2Lo1LrKXn8YZSJ+49igRHI2TxpDlsAR2zvbfSGC1K738B 9LfmiPLWq/rmhx1GFM8ZsAZN+PQvyhwpKwyoH6uCSmoBC0DASmj6dgciHv6FmpGV+ZDz TLpqfSKSolfy+FGn3plkcSk9GWcNCIQa2xlWZz27IrQGpNtE3b+eWDlNAq7062fo5xOm P+Xg== MIME-Version: 1.0 X-Received: by 10.202.191.194 with SMTP id p185mr5130524oif.63.1413417562288; Wed, 15 Oct 2014 16:59:22 -0700 (PDT) Received: by 10.76.23.37 with HTTP; Wed, 15 Oct 2014 16:59:22 -0700 (PDT) In-Reply-To: <543F04F1.7020303@sugarcrm.com> References: <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> <543D47C1.9050009@lerdorf.com> <543D4CE1.5000109@lerdorf.com> <543D6864.10508@gmail.com> <543D85E6.2020507@lerdorf.com> <57b7a3681d6c2c7ae123c8921b2d19d6@mail.gmail.com> <543DCE2B.8010506@sugarcrm.com> <543EE3B8.7010407@ralphschindler.com> <543EFFB7.3090406@sugarcrm.com> <543F04F1.7020303@sugarcrm.com> Date: Thu, 16 Oct 2014 02:59:22 +0300 Message-ID: To: Stas Malyshev Cc: Ralph Schindler , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: park.framework@gmail.com (Park Framework) 2014-10-16 2:36 GMT+03:00 Stas Malyshev : > No, file_get_contents('php://input') is not empty - I just checked it > and if you send PUT request the whole request - files and all - is in > the php://input. If you don't see it you might be doing something wrong. Yes, you're right, I'm wrong tests, send PUT enctype="multipart/form-data" - php://input - is not empty, sorry. But parse multi part in the PHP script is not very good solution, can use pecl-ext HTTP, but it is better if there are an global array of $_BODY.