PHP operate file(fseek)

From: Date: Mon, 26 Sep 2011 02:11:14 +0000
Subject: PHP operate file(fseek)
Groups: php.general 
Request: Send a blank email to php-general+get-315026@lists.php.net to get a copy of this message
Hey All, I want to seek file pointer to some line in a huge file with fseek(). I know that can use fgets() to locate, but this line is uncertain, for example end of the file or in the middle of the file. Use fgets () loop to read may not be high efficiency. I need your help.Thanks. 2011-09-26 yzang

« previous php.general (#315026) next »