title: Can I add a base64 image to the $_FILES array?
body: <p>Is there a way to add a base64 image string to the <code>$_FILES</code> array (the array that you get when you upload a file)? Basically, I want to fake a file upload from a base64 string. The base64 string comes from an email attachment. I don’t wish to use <code>file_get_contents()</code>, because I want to save the image in a database as a binary image. I don’t need to upload it, as such, but I do need it be a part of the <code>$_FILES</code> array.</p>