I am getting
NTERRUPT_DURATION
or similar text between the values..
this binary reading thing is dahm jard..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/* This example will echo the first 154 bytes of a file
* ("/path/to/file" in the example). */
$binary_data = file_get_contents("/path/to/file"):
echo substr($binary_data, 0, 154);
On Saturday 31 May 2003 01:29 pm, Ferhat BINGOL wrote:
> I do not understand how to use this one from the manual b
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
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 o
4 matches
Mail list logo