Alright, well I'm making a base64 converter in PHP. Or at least I'm trying. So far I have the binary conversion working, but I don't know how I'm going to make a space every sixth character. Could anyone make any suggestions? From there I think I know how to do the rest.
If anyone is unfamiliar with base64, what I want to do is take binary like 011000100110100101101110011000010111001001111001 and make it 6 bit, by adding spaces after every 6th number. Thats what I can't figure out how to do.
str_split() isn't working because I think I have an older version of PHP. Is there another way to do it?