Re: New globals for PUT and DELETE

From: Date: Wed, 15 Oct 2014 23:13:59 +0000
Subject: Re: New globals for PUT and DELETE
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  Groups: php.internals 
Request: Send a blank email to internals+get-78101@lists.php.net to get a copy of this message
Hi! > <?php > if($_SERVER['REQUEST_METHOD'] == 'POST') > { > var_dump(file_get_contents('php://input')); > exit; > } 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. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/

« previous php.internals (#78101) next »