we need to read and get an empty record before the eof() reports TRUE. So $fp = fopen('test.bin','rb'); while(!feof($fp)) { $c = fgetc($fp);
確定! 回上一頁