I thought this will be an easy Google-search, but it seems that my technique is not as common as I thought.
How can I encode a Base64 string in JavaScript, in order to put it safely on the line with a GET parameter (my Base64 string contains a lot of /, + and =, and decode the exact same string in PHP, in order to store it in a database?
When I post the Base64 string without encoding, my PHP script does not accept it.
I found a solution for encoding and decoding the Base64 string in JavaScript, but not in the way it makes sense for me.
encodeaBase64string"? Convert a string tobase64representation? Can you includejavascript,phpthat you have tried at Question?/and+and=POSTrequest? How isbase64string generated?