I am encrypted a string with Base64_encode("str"). But it returns me encrypted String with '==' sign. that is not acceptable in URL. How can I remove that special character from my Encrypted String?
- 6 years ago
you need to use below code it will remove all Spacial Character and make your string for URL friendly.
strtr(base64_encode($str_val), '+/=', '._-');
Hot Questions