Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78361 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77831 invoked from network); 27 Oct 2014 02:06:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2014 02:06:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=will@fitch.so; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=will@fitch.so; sender-id=pass Received-SPF: pass (pb1.pair.com: domain fitch.so designates 66.111.4.25 as permitted sender) X-PHP-List-Original-Sender: will@fitch.so X-Host-Fingerprint: 66.111.4.25 out1-smtp.messagingengine.com Received: from [66.111.4.25] ([66.111.4.25:36718] helo=out1-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/03-56216-8B8AD445 for ; Sun, 26 Oct 2014 21:06:49 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6AAA620842 for ; Sun, 26 Oct 2014 22:06:46 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sun, 26 Oct 2014 22:06:46 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fitch.so; h= x-sasl-enc:content-type:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=mesmtp; bh=iuLd4EGKdzsqrJv1 /9+bS5mptiA=; b=UWZhEjjxBhStPrDkgGKrxtGOIf7YysYBZmNFdjw9aWwmvEMt 0Gvdg2V39Dil/LYpltznVm6BUcvW65K/UAmAdYATzCq11yBtxMyC0Ys38iJwe6JZ HFTTh+IZa6u2SCUm9if3DpCWhDsDvF17qK7VSVpfMZrhTnr+J11fcKIEpOc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:content-type:mime-version :subject:from:in-reply-to:date:cc:message-id:references:to; s= smtpout; bh=iuLd4EGKdzsqrJv1/9+bS5mptiA=; b=ePspWVkGUI7T25shkJyk T3JWRr38KBiVY1zPlfuZMVUKa0E0qZrCDnKdDPL5Cy3BkPYzA9qtVt6/3P/HiCWC voWs93I6uMuFxhO1ZBzY0LAv8Hqm8F4cipeVpheCd6g5ap1R4Ns0FWn+0+yFW/FA COMNp82XMmnW4Nh1EcsVIYY= X-Sasl-enc: ewJZRLQElUM/CKTxOD9hQpaFJyW/DaFTOh3rsUlT791B 1414375606 Received: from [192.168.1.137] (unknown [24.183.225.156]) by mail.messagingengine.com (Postfix) with ESMTPA id 526A7C0000A; Sun, 26 Oct 2014 22:06:45 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_C8961C78-9064-4236-80E9-6FF7A3E73D07" Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) In-Reply-To: Date: Sun, 26 Oct 2014 21:06:44 -0500 Cc: Florian Margaine , Stas Malyshev , Dave , Zeev Suraski , Kris Craig , Rasmus Lerdorf , Rowan Collins , PHP internals list Message-ID: <9B82E453-F125-4DE4-965C-3FCDDB08BCC3@fitch.so> 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> <544D65F7.8070807@sugarcrm.com> To: Park Framework X-Mailer: Apple Mail (2.1990.1) Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: will@fitch.so (Will Fitch) --Apple-Mail=_C8961C78-9064-4236-80E9-6FF7A3E73D07 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 26, 2014, at 5:00 PM, Park Framework = wrote: >=20 > 2014-10-26 23:24 GMT+02:00 Florian Margaine : >> I think Rasmus made it clear what the original naming meant: it were = form >> methods, not related at all to HTTP methods. >=20 > Yes, this would be logical to have access to the input data, as single > interface, do not make exceptions for POST, input data send methods > PUT, DELETE, must be available in a single global variable, the > variable name is not important > file_get_contents(=E2=80=98php://input') - uncomfortably Or, use pecl/http to handle it. GET/POST are form relative while all = others are HTTP related. That=E2=80=99s been said quite a few times in = this thread. You don=E2=80=99t have to use php://input . = pecl/http is available. >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 --Apple-Mail=_C8961C78-9064-4236-80E9-6FF7A3E73D07--