Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78077 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10559 invoked from network); 14 Oct 2014 22:15:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 22:15:57 -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.214.180 as permitted sender) X-PHP-List-Original-Sender: park.framework@gmail.com X-Host-Fingerprint: 209.85.214.180 mail-ob0-f180.google.com Received: from [209.85.214.180] ([209.85.214.180:33640] helo=mail-ob0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/7A-18603-C90AD345 for ; Tue, 14 Oct 2014 18:15:56 -0400 Received: by mail-ob0-f180.google.com with SMTP id va2so12852obc.39 for ; Tue, 14 Oct 2014 15:15:53 -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:content-transfer-encoding; bh=KuS7AT0QtJTQ3L4KuCulko9ctTyoORJM5AZNWV0Xqx8=; b=qGf+kEcrej54jatmuZIM/bRymsXXtJgjeZs+mILnBYLAjVeBakvqcTHO0SYFM2lfM1 bWbF50L+afmDSaaYVR/Zv/T/urLToFhPQr0Dukhy3n4AjLDnFZAX3BMejfnC+yTYvbQH THpiRZOYBvUajhtyKXnotz9Fajql+u06MJhLDnQKkIPx5eSOxWy9Ds9RucHERHEflCLj OZyNpFqXGsyL3P7Jld33cvmfNOWVxH6MNQRTQCyRQPsHiyLv1lYQsPRaNYvgo3Di7rTC EH9tGsAcs8EztdfChi2uijXWebWXP6RSboIZAz81IUqQrJAcN2FHb50rduWnZEI2ld0x vo6A== MIME-Version: 1.0 X-Received: by 10.182.234.35 with SMTP id ub3mr6860976obc.37.1413324953822; Tue, 14 Oct 2014 15:15:53 -0700 (PDT) Received: by 10.76.23.37 with HTTP; Tue, 14 Oct 2014 15:15:53 -0700 (PDT) In-Reply-To: <57b7a3681d6c2c7ae123c8921b2d19d6@mail.gmail.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> Date: Wed, 15 Oct 2014 01:15:53 +0300 Message-ID: To: Zeev Suraski Cc: Kris Craig , Rasmus Lerdorf , Rowan Collins , PHP internals list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: park.framework@gmail.com (Park Framework) 2014-10-15 0:56 GMT+03:00 Zeev Suraski : > PHP today to enable successful & easy implementation of RESTful interface= s. No, now PHP not successful & not easy implementation of RESTful interfaces. Try to send a parameter in the body, by PUT method, for reading parameters have to use an ugly way file_get_contents(=E2=80=98php://input') But yet worst, you can not do upload files and send parameters because - php://input is not available with enctype=3D"multipart/form-data" Main objective is to get the parameters of the request body in Global change, as name this variable, is not so important.