Re: New globals for PUT and DELETE

From: Date: Tue, 14 Oct 2014 22:15:53 +0000
Subject: Re: New globals for PUT and DELETE
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-78077@lists.php.net to get a copy of this message
2014-10-15 0:56 GMT+03:00 Zeev Suraski <zeev@zend.com>: > PHP today to enable successful & easy implementation of RESTful interfaces. 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(‘php://input') But yet worst, you can not do upload files and send parameters because - php://input is not available with enctype="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.

« previous php.internals (#78077) next »