should fpassthru do this?

admin

Administrator
Staff member
<?php
$f_result=fopen("c:\\ex.txt", "r");
$all = fpassthru($f_result);
echo "$all";
?>

Hi - when I run the above the number of characters is appended to the end of the file contents! Should this happen and how do I stop it?
I'm running PHP on Win32 with Microsoft PWS.
 
Back
Top