This part of the program is also conventional PHP - in this case, with fread.
程序的这一部分也符合常规php——在本例中,使用fread。
The fgets, fgetss, fread, fscanf, and fclose functions also return False on error.
fscanf 和 fclose 函数在出错时也返回 False。
Note that no matter what number you specify, fread will not read more than 8,192 bytes (8 KB).
不管指定多少字节,fread都不会读取超过8,192个字节(8 KB)。
应用推荐