I POST the entire string of the variable
data mentioned above. And I am receving it in Laravel with Input::get() and not Input::file()
So it is basically a very long string received on the Laravel side too, do I need to decode it back to an image and save to a file path? If yes how do I do that?
Thanks very much
I think you will lose part of the unseen binary data if you use a standard form input string.
base64 is the safest way to transfer binary data if your not using the multi-part form upload.
You can decode it, then save it to a file or store it in a blob field in a db, or just save the string (though it will be larger than the decoded version)
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us