From:             [EMAIL PROTECTED]
Operating system: w2k
PHP version:      4.0.4
PHP Bug Type:     Filesystem function related
Bug description:  fread stops reading

i am using php 4.0.4 (build 20.12.2000) on w2k (build 2195)with iis5.
pls. note that fread function has a problem reading a binary file (*.zip) afer 
fread stops after reading 389 bytes instead of reading the whole file using following 

$filesize=filesize($path . "/" . $attachment_name);
$filenum=fopen($path . "/" . $attachment_name,"r");

pls. help

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to