hi,
im running php4 under windows nt/iis 4 and i want to use a file download script, to send data to the browser. everthing worked fine on linux/apache. the same script only gives out the first 59 bytes of a file on windows iis.
it makes no differance wether is use the openfile() function or the following scriptlet:
$fd = fopen ($total, "r");
$out = fread ($fd, filesize ($total));
fclose ($fd);
//echo strlen($out);
echo $out
$total is the name and path of the file and filesize($total) gives the right filesize. thats why i suppose fread cause the problem.
is anybody out there who knows about this problem?
thanx.
peda