schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Wed, 19 Nov 2008 23:29:46 +0100 :Revision: 1 :Copyright: CC by-nc-sa ================ You know binary? ================ :Description: 01010100011010000110010101110010011001010010000001100001011100100 01010100011010000110010101110010011001010010000001100001011100100 11001010010000000110001001100000010000001110100011110010111000001 10010101110011001000000110111101100110001000000111000001100101011 01111011100000110110001100101001011100010000001010100011010000110 11110111001101100101001000000111011101101000011011110010000001101 01101101110011011110111011100100000011000100110100101101110011000 01011100100111100100100000011000010110111001100100001000000111010 00110100001101111011100110110010100100000011101110110100001101111 00100000011001000110111101101110001001110111010000101110 Don't know, what's that about? Try:: $bin = "01010100..."; $bin = explode(" ", chunk_split($bin, 8, " ")); foreach ($bin as $num) { $num = chr(bindec($num)); } .. Local Variables: mode: rst fill-column: 79 End: vim: et syn=rst tw=79 Trackbacks ========== Comments ======== - Ronald Teune at Wed, 21 Apr 2004 16:13:31 +0200 cool :-P and cool site :-)