note 89887 added to function.file-get-contents

From: Date: Fri, 27 Mar 2009 03:39:49 +0000
Subject: note 89887 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-152510@lists.php.net to get a copy of this message
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 ---- Server IP: 202.158.52.162 Probable Submitter: 203.153.107.100 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/89887 Del: integrated -- https://master.php.net/note/delete/89887/integrated Del: useless -- https://master.php.net/note/delete/89887/useless Del: bad code -- https://master.php.net/note/delete/89887/bad+code Del: spam -- https://master.php.net/note/delete/89887/spam Del: non-english -- https://master.php.net/note/delete/89887/non-english Del: in docs -- https://master.php.net/note/delete/89887/in+docs Del: other reasons-- https://master.php.net/note/delete/89887 Reject -- https://master.php.net/note/reject/89887 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152510) next »