Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Convert a string to an 8 bit representation

how to convert a string to an 8 bit representation in php ???

😵

Thanks
Get the ascii number for each letter and transform it into binary.
can you provide me sample code please ?
use pack with C

c signed, C unsigned

pack('C', 1);


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Javascript]  by ♠ɪᴄᴇ♠Apr 26, 2016 08:41 PM 10 249 Apr 26, 2016 08:41 PM
Last Post: ♠ɪᴄᴇ♠
[PHP] by Linux.Dec 26, 2012 11:31 AM 30 470 Dec 26, 2012 11:31 AM
Last Post: Linux.
[PHP] by Green ArrowSep 21, 2012 07:35 AM 5 172 Sep 21, 2012 07:35 AM
Last Post: Green Arrow