|
Posted by IchBin on 08/11/06 21:18
Carl Vondrick wrote:
> Bint wrote:
>> I have an array of numbers, and I need to turn it into a single
>> binary string. How do I do that?
>
> Sorry, but what you are trying to do?
>
> You could do something like this:
>
> $string = array(1,2,3,5,6,7);
> $output = '';
> foreach ($string as $ascii)
> {
> $output .= chr($ascii);
> }
Is that ascii and not binary?
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Navigation:
[Reply to this message]
|