PHP LimitIterator fails ("Does not support seeking" + "Cannot rewind file")
I use `SplFileObject` and `LimitIterator` to read content from position x till y of a big file.

This works perfectly when using a file path like `/home/devel/stuff/myfile.log`.

When using a path like `http://mydomain.com:8090/devel/stuff/myfile.log` it does not work. The path is correct however.

Does this fail when using absolute paths?

___

The error messages are: 

`PHP Warning:  SplFileObject::rewind() [<a href='splfileobject.rewind'>splfileobject.rewind</a>]: stream does not support seeking in ...`

`PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'Cannot rewind file ...'`




___

Full code: 

      // $pStrFile contains the valid (yes!) path
      $oFile = new SplFileObject($pStrFile);
      // $nFrom = 80 and $nLines = 30
      $fileIterator = new LimitIterator($oFile, $nFrom, $nLines);

      foreach($fileIterator as $line) {
          $strLines .= $line;
      }
PHP LimitIterator fails ("Does not support seeking" + "Cannot rewind file")
===

I use `SplFileObject` and `LimitIterator` to read content from position x till y of a big file.

This works perfectly when using a file path like `/home/devel/stuff/myfile.log`.

When using a path like `http://mydomain.com:8090/devel/stuff/myfile.log` it does not work. The path is correct however.

Does this fail when using absolute paths?

___

The error messages are: 

`PHP Warning:  SplFileObject::rewind() [<a href='splfileobject.rewind'>splfileobject.rewind</a>]: stream does not support seeking in ...`

`PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'Cannot rewind file ...'`




___

Full code: 

      // $pStrFile contains the valid (yes!) path
      $oFile = new SplFileObject($pStrFile);
      // $nFrom = 80 and $nLines = 30
      $fileIterator = new LimitIterator($oFile, $nFrom, $nLines);

      foreach($fileIterator as $line) {
          $strLines .= $line;
      }