I need to remove white spaces from a base64 encoded file. When Base64 gets POSTed, and I get more white spaces in the output string. Where did these white spaces coming
How do I remove these whitespaces?
When Base64 gets POSTed, all pluses(+) are parsed as spaces. So I used str_replace to convert the spaces back to pluses. This saved my time
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With