base64_decode

See all posts See thread Reply

Re: base64_decode  new!
by Steve, 6 years, 5 months ago
Great, thanks for your help. I have changed the code as per your suggestion and the file was stored, however it is a data.txt file with base64 encoded image. How do I convert it back to jpeg image and store it?Reply
Re: base64_decode  new!
by jazzy, 4 years ago
I think this is because of the string appear before the images string, something like " data:image/jpeg;base64, ", remove it and your image will not in .txt formatReply