Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因此readfile/fpassthru非常适合有效地发送完整文件 ( readfile) 或从特定搜索位置到 FEOF ( fpassthru) 的文件。
readfile
fpassthru
fread如果我想流式传输任意位置或从文件的开头到任意位置,除了可以使用的任何其他效率方法吗?(即。fpassthru($fp, begin, end))
fread
fpassthru($fp, begin, end)