Accept Base64 or Multipart

PHP