;news:[EMAIL PROTECTED]...
On Fri, 12 Oct 2001 21:00:24 +0200, Roland Divin wrote:
>Hi,
>I can'r read binary file that contains '0x0' character. Reading
>process
>stops after reading '0x0' character on windows version of PHP. On
>Linux it
>does n
This error is included only in sapi/php4apache.dll. If I use CGI (php.exe)
it works perfectly.
--
PHP Windows 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 PROTE
x27;0x0' characters. I'm using PHP4 build
from Jun 22 2001.)
$filename = "text.txt";
$fd = fopen ($filename, "r");
$contents = fread ($fd, filesize ($filename));
fclose ($fd);
echo $contents;
echo strlen($contents);
for($i=0;$i"; }
Isn't it bug?
Thanks