note 3212 modified in fread by ronabop

From: Date: Mon, 02 Oct 2000 10:53:13 +0000
Subject: note 3212 modified in fread by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5901@lists.php.net to get a copy of this message
For reading from a specified point in the file, use: $fp=fopen("$filename","r"); fseek($fp,$numpoint); $content=fread($fp,filesize("$filename")); fclose($fp); For doing the same with an url-based file, use jeichorn@mail.com's solution and substr it. http://www.php.net/manual/function.fread.php

« previous php.notes (#5901) next »