[...]
> $fd = fopen( $filename, "rb" ); //Notice the "b"
> $a = fread( $fd, 4 );
> $b = fread( $fd, 4 );
> printf( "a= %lx b=%lx", $a, $b);
> fclose( $fd );
> ?>
>
> notice the "b" in the fopen, it stand for binary.
[...]
I noticed the 'b' like in but - it's also mentioned in the
documentation, BUT it doesn't seem to work !
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]