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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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