Base64 plus signs

Source: Internet
Author: User
Base64 plus signs (+) in the URL passed after base64 are changed to space links and cannot be correctly redirected. functions of the urlencode class cannot be used, only spaces in the string can be replaced with the plus sign on the receiving page. how can I replace them? Note that there is a space here, not % 20 ------ solution ------------------ $ urlstr_ireplace (, +, $ var); base64 plus sign
After base64, all the plus signs in the uploaded URL become space links and cannot jump correctly. you cannot use urlencode functions. you can only replace the spaces in the strings with the plus signs on the receiving page, how can I replace it?

Note that this is a space, not % 20

------ Solution --------------------
$ Url = str_ireplace ('', '+', $ var );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.