我的代碼是:錯誤在PHP讀取文件的塊時
$fileName = 'http://www.test.com/test.txt';
$fileRes = fopen($fileName,'rb');
fseek($fileRes, -100, SEEK_END);
$content = fread($fileRes, 10);
它給這個錯誤:返回
Warning: fseek() [function.fseek]: stream does not support seeking in /home/skrsoft/public_html/a.php on line 10
此錯誤的所有文件!爲什麼?
因爲* [「流不支持seek」](http://www.php.net/manual/en/wrappers.http.php)*。 – Gordon