note 89887 rejected from function.file-get-contents by danbrown
| From: | danbrown@php.net | Date: | Fri, 27 Mar 2009 15:39:33 +0000 |
| Subject: | note 89887 rejected from function.file-get-contents by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152526@lists.php.net to get a copy of this message | ||
Note Submitter: sembiring_leonardo at yahoo dot com
----
When execute for offset 8027, it generates errors.
When execute for offset 8026, it does not generate errors.
Anybody help me? Many thanks
<?php
$section = file_get_contents('http://localhost/pages/docs/'.$scode.'.php',
FILE_TEXT, NULL, 8027, 81);
echo $section;
?>
Errors:
Warning: file_get_contents() [function.file-get-contents]: stream does not support seeking in
C:\AppServ\www\index.php on line 17
Warning: file_get_contents() [function.file-get-contents]: Failed to seek to 8027 position in the
stream. in
C:\AppServ\www\index.php on line 17