Tag Archives | Newbie

PHP: convert binary to text string

The PHP’s core offers some function to convert data between binary, decimal, hexadecimal and etc. But how to convert from binary to text, we offer some function to do that. Method 1: using functions pack and base_convert Example: But with the long binary data, we can’t convert Because of the function base_convert can’t work with […]

Read full story Comments { 0 }

PHP: convert string to binary

Tool online: Convert string to binary online The PHP’s core offers some function to convert data between binary, decimal, hexadecimal and etc. But how to convert from binary string to binary, we offer some function to do that. Method 1: using functions unpack and base_convert Example: but with the long string, we can’t convert Because […]

Read full story Comments { 1 }