3

I am receiving images from an iOS device, and from what I've learned here, I need to look for the raw post data with either $HTTP_POST_RAW_DATA or file_get_contents("php://input");

I can do that, but now I need to know what to do with the raw data, once I have it? My framework typically handles images that I have uploaded to a temporary folder from a web form...but this case is different.

How do I "upload" this data?

Community
  • 1
  • 1
johnnietheblack
  • 12,720
  • 27
  • 90
  • 131

1 Answers1

3

You could use createimagefromstring().

alex
  • 460,746
  • 196
  • 858
  • 974