I do not understand how to use this one from the manual but thanks I am
working on it. Meanwhile I was trying to open the binary with fopen and
unpack 154 bytes from it (it is the firs line accordint to my structure
format.) I got the first letter but afterwords it just gives stupid
characters.

Do you have any comment on this?

And can you point me an example for file_read_contents???

regards



"Evan Nemerson" <[EMAIL PROTECTED]>, iletide sunu yazdi
news:[EMAIL PROTECTED]
> file_get_contents() is binary safe.
>
> $binary_data = file_get_contents("/path/to/file");
>
> php.net/file_get_contents
>
>
> On Saturday 31 May 2003 12:42 pm, Ferhat BINGOL wrote:
> > Hi,
> >
> > I have binary data. I know the format but I do not know how to read it
with
> > PHP. I saw some articles and comments on the manual but it seems taht it
is
> > not enough for me.
> >
> > Anyone to haelp, please?
> >
> > I just nedd a good documentation about it.
> >
> > TIA
>
> -- 
>
> Everything has a natural explanation. The moon is not a god but a great
rock
> and the sun a hot rock.
>
> -Anaxagorus
>



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

Reply via email to