Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62274 invoked from network); 15 Oct 2014 23:30:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2014 23:30:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=park.framework@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=park.framework@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.50 as permitted sender) X-PHP-List-Original-Sender: park.framework@gmail.com X-Host-Fingerprint: 209.85.218.50 mail-oi0-f50.google.com Received: from [209.85.218.50] ([209.85.218.50:43992] helo=mail-oi0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/21-55527-DA30F345 for ; Wed, 15 Oct 2014 19:30:53 -0400 Received: by mail-oi0-f50.google.com with SMTP id i138so1847959oig.9 for ; Wed, 15 Oct 2014 16:30:50 -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=XGQZ6LdgPnVcJOshqxQ9zQk06Pb6X5+HEvC5rz+5XRk=; b=AdPhlH1GXRIyxqRWnK9k3qB2WqKrgA8MjGPFmY8SU1dj9lQRWcm/vrXlriP/thyhZT Xw2+SKBzaUHKr7b470SUBKwabliRZb1phgL+ntuYkCDwbgXvPTWatDqsAYl/euePWzLk tOGTpyG/j7Qh2qfdafvMVHHY5L7qUrrF1tKgTtscZIj1C/XPWyGL+JyA5VcUw74vG0EI 1AVdeLWZelNoa5dYoqG96Dt7DeAD9/GHBiSgsdm/F+TKNBe2FfA5gVgJc9w/PJQgSnEg qEK273YNLqXiuNvEg2YU9G6AM8zW+XjsCRX6+K/qwRq2LOVBInDB4G9NDXyYow/01RUs 02xA== MIME-Version: 1.0 X-Received: by 10.60.57.41 with SMTP id f9mr12356025oeq.17.1413415849912; Wed, 15 Oct 2014 16:30:49 -0700 (PDT) Received: by 10.76.23.37 with HTTP; Wed, 15 Oct 2014 16:30:49 -0700 (PDT) In-Reply-To: <543EFFB7.3090406@sugarcrm.com> References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <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> Date: Thu, 16 Oct 2014 02:30:49 +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:13 GMT+03:00 Stas Malyshev : > > I tried this script, if you do POST, your data is in $_FILES, if you do > PUT, your data is in php://input. Still not sure what is the big problem. I added the variable field, how do I get its value, with use the query method PUT and enctype="multipart/form-data"? This debate not for tediousness, this is a real problem, if you want to use the query method PUT and enctype="multipart/form-data", variable $_POST is empty and file_get_contents('php://input') is empty