What\'s the proper way in PHP to create an image file (PNG), when I have the base64 encoding?
I\'ve been playing around with:
file_put_contents(\'/
I would think you'd want to decode with base64_decode() unless you are only using it like they are here HERE.
The thing I am sure of is that you will want to sanitize $_REQUEST['id'] before using it.