function post()
 {
     global $HTTP_RAW_POST_DATA;
     $request = new PageRequest($HTTP_RAW_POST_DATA);
     return $request->getAll();
 }
예제 #2
0
 static function post()
 {
     $request = new PageRequest(file_get_contents("php://input"));
     // HTTP_RAW_POST_DATA -- http://us.php.net/manual/en/wrappers.php.php
     return $request->getAll();
 }