I have string of 2 bits (1s and 0s) that is 64 bits/chars long and I would like to base64_encode it in PHP. How do I convert it to base64?
Here is my string (the right-most char is the 1st bit and the left-most char is the 64th bit):
$strBinData = '0110011111011010110101100100000000000000000100000000000010010011' ;
By the way I am using PHP v5.3.24.