note 68636 added to function.file-get-contents

From: Date: Fri, 04 Aug 2006 08:55:39 +0000
Subject: note 68636 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-115537@lists.php.net to get a copy of this message
the bug #36857 was fixed. http://bugs.php.net/36857 Now you may use this code,to fetch the partial content like this: <?php $context=array('http' => array ('header'=> 'Range: bytes=1024-', ),); $xcontext = stream_context_create($context); $str=file_get_contents("http://www.fcicq.net/wp/",FALSE,$xcontext); ?> that's all. ---- Server IP: 219.239.98.8 Probable Submitter: 60.216.238.64 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/68636 Del: integrated -- https://master.php.net/note/delete/68636/integrated Del: useless -- https://master.php.net/note/delete/68636/useless Del: bad code -- https://master.php.net/note/delete/68636/bad+code Del: spam -- https://master.php.net/note/delete/68636/spam Del: non-english -- https://master.php.net/note/delete/68636/non-english Del: in docs -- https://master.php.net/note/delete/68636/in+docs Del: other reasons-- https://master.php.net/note/delete/68636 Reject -- https://master.php.net/note/reject/68636 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115537) next »