Hi all,
I would like to use PHP to read a binary file which contains a structure in
C, such as:
struct simple {
int a;
float b;
};
with f.e. a = 2 and b = 1.5.
Please notice that this is stored as *binary* data and not as text.
I know it is possible to read binary files using fgets() in
php.net/unpack
On Sun, 24 Nov 2002, Tim Molendijk wrote:
Hi all,
I would like to use PHP to read a binary file which contains a structure in
C, such as:
struct simple {
int a;
float b;
};
with f.e. a = 2 and b = 1.5.
Please notice that this is stored as *binary* data and not as
2 matches
Mail list logo