I try to open a file but output of file is not correct,because output is half-part of data in a file. I don't know solutions to resolve this problem
<?php
$handle = fopen("data/weather.arff", "r");
while ($buffer = fgetc($handle)) {
$result .= $buffer;
}
echo $result;
?>