Re: covert binary data with php
| From: | Louis Solomon \[SteelBytes\] | Date: | Thu, 12 May 2005 13:08:31 +0000 |
| Subject: | Re: covert binary data with php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26000@lists.php.net to get a copy of this message | ||
show us your code
--
Louis Solomon
www.SteelBytes.com
"Burkhard Herre" <burk-man@gmx.de> wrote in message
news:42830C77.7000200@gmx.de...
> hello
>
> i have a problem with reading binary data from a file.
> i read byte by byte with fread...
>
> now i want to convert the 1. byte in an ascii sign.
>
> and the next step is to read 2 bytes and convert the 2 bytes input into 1
> sign in ascii...(16 bit)
>
> and so on.
>
> but php convert always 1 byte to 1 sign.
>
>
> thnak you