4

According PHP Manual php://input is not available with multipart/form-data. Theres an alternative to this? (http://www.php.net/manual/wrappers.php)

Code:

parse_str(file_get_contents('php://input'), $put_vars);

It's not working because my Restful receives multipart/form-data that contains $_FILES['image'].

Luciano Nascimento
  • 2,600
  • 2
  • 44
  • 80

0 Answers0