base64_encode() returns
data encoded with base64. This encoding
is designed to make binary data survive transport through
transport layers that are not 8-bit clean, such as mail bodies.
Base64-encoded data takes about 33% more space than the original
data.
Example 1. base64_encode() example
<?php $str = 'This is an encoded string'; echo base64_encode($str); ?>
base64 encode php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php base64 encode syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.