Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP's function is called base64_encode() not base_64_encode() as you have posted. That method should work, and would be preferred. What about it is failing, if you are indeed using the correct function name?
base64_encode()
base_64_encode()