covert binary data with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux