Saving a Base64 string to disk as a binary using PHP

前端 未结 8 1547
无人及你
无人及你 2020-12-24 15:01

As a \"look under the covers\" tutorial for myself I am building a PHP script to gather emails from a POP3 mailbox. While attempting to make use of binary attachments I am

8条回答
  •  臣服心动
    2020-12-24 15:57

    Pass the data to base64_decode() to get the binary data, write it out to a file with file_put_contents()

提交回复
热议问题