As the title says, what was sent is binary. Can I write it directly into the file? The file suffix should be .png or .jpg or something
As the title says, what was sent is binary. Can I write it directly into the file? The file suffix should be .png or .jpg or something
Your interface now
<code>print_r($_FILES); print_r($_POST);</code>
See what I print so I can decide the next step
Let the ios client tell you the file suffix, and then you just use file_put_content